summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJohnathan Corgan2009-09-24 15:35:07 -0700
committerJohnathan Corgan2009-09-24 15:35:07 -0700
commit047540337c60a4856d573d6919efd6a0ed3f491f (patch)
treec40e1270fe1a884700fd0374b26cc3bbb4d2b27d /debian/rules
parent3c9b9b58f4ba22245f573da8d40d34b8fb5520ce (diff)
downloadgnuradio-047540337c60a4856d573d6919efd6a0ed3f491f.tar.gz
gnuradio-047540337c60a4856d573d6919efd6a0ed3f491f.tar.bz2
gnuradio-047540337c60a4856d573d6919efd6a0ed3f491f.zip
Merged Bdale's 3.2.2-1 packaging
Three-way merge on files (3.2.2->bdale, 3.2.2->3.3git) Merged control, rules, install, copyright, changelog File renames to accomodate package renames 3.3git items updated to follow new pattern Updated copyright notification Some manual fixups needed
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules14
1 files changed, 9 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 1fc459280..f0dcd538d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ export DH_OPTIONS
export DH_PYCENTRAL=nomove
+DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
clean:
dh_testdir
dh_testroot
@@ -37,6 +39,7 @@ configure-stamp:
dh_testdir
[ -f ./configure ] || ./bootstrap
./configure \
+ --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
@@ -46,7 +49,7 @@ configure-stamp:
--disable-gr-audio-osx \
--disable-gr-audio-windows \
--disable-gcell --disable-gr-gcell \
- --disable-gr-comedi --disable-usrp2-firmware
+ --disable-gr-comedi --disable-usrp2-firmware
touch configure-stamp
build: build-stamp
@@ -59,7 +62,8 @@ build-stamp: configure-stamp
extract: extract-stamp
extract-stamp: build-stamp debian/bin/gen-install-files.sh
dh_testdir
- debian/bin/gen-install-files.sh
+ chmod +x debian/bin/gen-install-files.sh debian/bin/extract-install-filenames
+ debian/bin/gen-install-files.sh
touch $@
install: install-stamp
@@ -79,12 +83,12 @@ install-stamp: extract-stamp debian/control
done
: # Deposit rule to allow group 'usrp' access to USRP hardware
- install -m 0644 -D debian/custom/libusrp.udev \
+ install -m 0644 -D debian/custom/libusrp0.udev \
debian/tmp/etc/udev/rules.d/40-usrp.rules
: # Deposit rule to allow group 'usrp' access to USRP2 hardware
- install -m 0644 -D debian/custom/libusrp2.limits \
- debian/tmp/etc/security/limits.d/libusrp2.limits
+ install -m 0644 -D debian/custom/libusrp2-0.limits \
+ debian/tmp/etc/security/limits.d/libusrp2-0.limits
: # Install custom grc.conf
install -m 0644 -D debian/custom/grc.conf \