aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules11
2 files changed, 10 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index faf8175..3127f40 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: universe/x11
Priority: optional
Maintainer: vg <vg@devys.org>
Build-Depends: debhelper (>=9),
- libxext-dev, libpng12-dev, libgif-dev, libjpeg-dev, zlib1g-dev
+ libxext-dev, libpng-dev, libgif-dev, libjpeg-dev, zlib1g-dev
Homepage: https://github.com/jhawthorn/meh/
#Vcs-Git: git://git.debian.org/collab-maint/meh.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/meh.git;a=summary
diff --git a/debian/rules b/debian/rules
index 352f88c..a479493 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,13 @@ PACKAGEVERSION = $(VERSION)+$(shell date +%Y%m%d%H%M%S)
%:
dh $@
+# avoid errors on stretch and sid builds. Error :
+# dpkg-shlibdeps: error: no dependency information found for
+# /usr/lib/ld-linux-armhf.so.3 (used >by debian/meh/bin/meh)
+# fix by telling dh_shlibdeps it should ignore not found libs:
+override_dh_shlibdeps:
+ dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
# note for build:
# Delete manpages installed from upstream since not gzipped, and let debian
# helper do it instead.
@@ -21,8 +28,8 @@ override_dh_auto_test:
override_dh_auto_build:
override_dh_auto_install:
make -C upstream
- make -C upstream install PREFIX=debian/meh
- rm -f debian/meh/usr/share/man/man1/meh.1
+ make -C upstream install PREFIX=../debian/meh/usr
+ rm -f ../debian/meh/usr/share/man/man1/meh.1
dh_installman