Codebase list pd-iemnet / 5b0173b
Switch build-system to pd-lib-builder IOhannes m zmölnig 4 years ago
2 changed file(s) with 17 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
55 IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>,
66 Build-Depends:
77 debhelper-compat (= 11),
8 puredata-dev | puredata (>= 0.42.5-3),
8 pd-lib-builder,
99 Standards-Version: 4.1.3
1010 Section: sound
1111 Homepage: https://download.puredata.info/iemnet
99 %:
1010 dh $@
1111
12 override_dh_auto_build:
13 dh_auto_build -- \
14 arch.flags="" \
15 CPPFLAGS="$(CPPFLAGS)" \
16 CFLAGS="$(CFLAGS)" \
17 LDFLAGS="$(LDFLAGS) -Wl,-as-needed" \
18 $(empty)
19
20 override_dh_auto_install:
21 dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
12 override_dh_install:
13 dh_install
2214 # fix permissions
2315 find $(CURDIR)/debian/*/$(pkglibdir) -name "*.pd_linux" -exec \
24 chmod 0664 {} +
16 chmod 0664 {} +
2517 # remove license file so we can replace it with link to the Debian license file
2618 rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt
19
20 override_dh_auto_clean \
21 override_dh_auto_build \
22 override_dh_auto_test \
23 override_dh_auto_install:
24 $(patsubst override_%,%,$@) -- \
25 PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ \
26 prefix=/usr pkglibdir=$(pkglibdir) \
27 arch.flags="" \
28 CPPFLAGS="$(CPPFLAGS)" \
29 CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
30 LDFLAGS="$(LDFLAGS)" \
31 $(empty)
2732
2833 licensecheck:
2934 licensecheck --deb-machine -r . \