Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 DEB_CMAKE_OPTIONS = \
6 -DALSOFT_UTILS=ON \
7 -DALSOFT_EXAMPLES=OFF \
8 -DALSOFT_TESTS=OFF \
9 -DALSOFT_UPDATE_BUILD_VERSION=OFF
10
11 ifeq ($(DEB_HOST_ARCH_CPU),i386)
12 DEB_CMAKE_OPTIONS += -DALSOFT_CPUEXT_SSE3=OFF
13 endif
14
15 %:
16 dh $@
17
18 override_dh_auto_configure:
19 dh_auto_configure -- $(DEB_CMAKE_OPTIONS)
20
21 execute_after_dh_auto_install:
22 install -d debian/tmp/etc/openal
23 install -m644 \
24 debian/tmp/usr/share/openal/alsoftrc.sample \
25 debian/tmp/etc/openal/alsoft.conf