summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorGravatar aeb 2000-12-12 00:28:06 +0000
committerGravatar aeb 2000-12-12 00:28:06 +0000
commit8e5e0b811305d444266cb55fc4b7c9bca0c65231 (patch)
treea8882cc2163ab3b2005b5ee7858313e6cae7055a /debian/rules
parentFix postinst ldconfig. (diff)
Debian scripts use makedev (>=2.3.1-49) in postinst by default now.
Postinst script using mknod added as alternative. Revision bumped up to 0.8.1. git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@47 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
-rw-r--r--debian/rules23
1 files changed, 19 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 7f73d44..7e76af2 100644
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,14 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
export DH_COMPAT=1
+potato-build = no
majorname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2 | cut -d" " -f 2)
fullversionname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2 | cut -d" " -f 1)
major = $(shell echo $(majorname) | cut -d"." -f 3)
+libraw = libraw1394-$(major)
autoclean-files:
echo $@ >$@
@@ -46,12 +47,26 @@ binary-arch: build install autoclean-files
dh_testdir
dh_testroot
- dh_movefiles -plibraw1394-$(major) \
+ dh_movefiles -p$(libraw) \
usr/lib/$(majorname) \
usr/lib/$(fullversionname)
- echo debian/libraw1394-$(major).postinst >>autoclean-files
- cp debian/libraw1394.postinst.in debian/libraw1394-$(major).postinst
+ echo >>autoclean-files \
+ debian/substvars \
+ debian/$(libraw).postinst \
+ debian/$(libraw).substvars
+
+ echo "soversion=$(major)" >>debian/substvars
+ if [ "$(potato-build)" = "yes" ]; then \
+ cp debian/libraw1394-potato.postinst.in \
+ debian/$(libraw).postinst; \
+ echo "makedev-depend=" >>debian/$(libraw).substvars; \
+ else \
+ cp debian/libraw1394.postinst.in \
+ debian/$(libraw).postinst; \
+ echo "makedev-depend=makedev (>= 2.3.1-49), " \
+ >>debian/$(libraw).substvars; \
+ fi
dh_installdocs README NEWS
dh_installchangelogs
encollins 3-37/+125 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@103 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@102 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@101 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@100 53a565d1-3bb7-0310-b661-cf11e63c67ab 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@99 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@98 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@97 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; ↵Gravatar anonymous 3-124/+48 brought kernel-raw1394.h back in sync with the kernel version git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@96 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 - changed return type of rawiso xmit/recv handlers from int to enum raw1394_iso_disposition - added an ioctl (RAW1394_ISO_QUEUE_ACTIVITY) to force an ISO_ACTIVITY event into the queue. This is needed for handling RAW1394_ISO_DEFER, to kick us out of the next read() instead of sleeping forever. - removed references to "8-byte" isochronous header - this is an OHCI-specific implementation detail git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@95 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488 git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@93 53a565d1-3bb7-0310-b661-cf11e63c67ab