summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulien Louis <ptitlouis@sysif.net>2005-11-14 12:15:45 +0000
committerJulien Louis <ptitlouis@sysif.net>2005-11-14 12:15:45 +0000
commitf2402d4be2659c62fe46ff8fee8d8d45718ecf34 (patch)
treed23069c6a615f1f98b7cfbc2696798444da40fcc /debian/rules
parent0cf9d16bb92b4350b2a02a65363ceb477d1a6553 (diff)
downloadweechat-f2402d4be2659c62fe46ff8fee8d8d45718ecf34.zip
Update debian packaging
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 15832c446..e2b5ccad0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ install: build
dh_install
# install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin
# install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin
+ install -D -o root -g root -m 644 weechat_icon_32.png $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat_icon_32.png
# Build architecture-independent files here.
@@ -69,11 +70,17 @@ binary-arch: build install
# dh_installdocs -a
dh_installman doc/weechat-curses.1 -pweechat-curses
dh_link -a usr/share/doc/weechat-common usr/share/doc/weechat-curses
+ dh_installmenu -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
- dh_shlibdeps -a
+ #dh_shlibdeps -a
+ #dpkg-shlibdeps -Tdebian/weechat-curses.substvars -dDepends debian/weechat-curses/usr/bin/weechat-curses \
+ -dRecommends `find $(PKGDIR)/usr/lib/weechat -type f -name "*.so"`
+ dh_shlibdeps -a -l debian/weechat-curses/usr/lib -- -dDepends \
+ debian/weechat-curses/usr/bin/weechat-curses -dRecommends \
+ `find debian/weechat-curses/usr/lib/ -type f -name "*.so"`
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a