From: Antonio Ospite Date: Sun, 11 Dec 2016 09:25:04 +0000 (+0100) Subject: debian/{control,rules}: use pkg-php-tools X-Git-Tag: debian/1.0.0-1~1 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/a6f14c0055bb91d9349c633375884fa62eeaf447 debian/{control,rules}: use pkg-php-tools Suggested by lintian: I: tweeper source: composer-package-without-pkg-php-tools-builddep --- diff --git a/debian/control b/debian/control index 9c31430..bc212b9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: tweeper Section: php Priority: optional Maintainer: Antonio Ospite -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 9), pkg-php-tools (>= 1.7~) Build-Depends-Indep: asciidoc, xmlto Standards-Version: 3.9.8 Homepage: https://git.ao2.it/tweeper.git @@ -11,8 +11,7 @@ Vcs-Browser: https://git.ao2.it/tweeper.git Package: tweeper Architecture: all -Depends: ${misc:Depends}, php-cli, php-curl, php-xml, php-symfony-serializer, - php-symfony-property-access +Depends: ${misc:Depends}, ${phpcomposer:Debian-require} Suggests: libapache2-mod-php | php-cgi Description: web scraper to convert supported websites (e.g. Twitter.com) to RSS tweeper is a web scraper which can be used to conveniently follow the diff --git a/debian/rules b/debian/rules index 1eb817e..05543cd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with phpcomposer override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/tweeper prefix=/usr install