Codebase list teckit / 78c102b
use dh-autoreconf and simple debhelper rules file Daniel Glassey 8 years ago
2 changed file(s) with 3 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
00 Source: teckit
1 Build-Depends: autotools-dev,
2 cdbs (>= 0.4.27-1),
1 Build-Depends: dh-autoreconf,
32 debhelper (>= 9~),
43 pkg-config,
54 zlib1g-dev,
00 #!/usr/bin/make -f
11
2 #DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes
3
4 DEB_TAR_SRCDIR := teckit-2.5.4
5
6 include /usr/share/cdbs/1/rules/tarball.mk
7
8 #include /usr/share/cdbs/1/rules/patchsys-quilt.mk
9
10 common-configure-arch common-configure-indep::
11 @PERLVER=$$(dpkg-query -W -f '$${Version}' perl); \
12 echo "Perl version is $$PERLVER"; \
13 if dpkg --compare-versions $$PERLVER lt 5.20; then \
14 echo "Using an old (non-multiarch) perl"; \
15 cp debian/libteckit-perl.install.oldperl \
16 debian/libteckit-perl.install; \
17 fi
18
19 include /usr/share/cdbs/1/rules/debhelper.mk
20 include /usr/share/cdbs/1/class/autotools.mk
21
22 DEB_DH_SHLIBDEPS_ARGS_teckit := -lteckit
23
24 build/libteckit-perl ::
25 cd $(DEB_SRCDIR)/source/Perl ; perl Makefile.PL INSTALLDIRS=vendor
26 cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) OPTIMIZE="-O2 -g -Wall"
27
28 install/libteckit-perl ::
29 cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
30
2 %:
3 dh $@ --with autoreconf