diff options
author | Micah Anderson <micah@riseup.net> | 2013-11-17 17:25:01 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-11-17 17:25:01 -0500 |
commit | 79d16d72cd530acbee682ebee44d5b1d2010c661 (patch) | |
tree | d04b84f51e5023cc7382ec91674e2967ffb533c7 /debian/rules |
initial import of debian package to build with autobuilderupstream
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..632c729 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +export BASECFLAGS := $(CFLAGS) $(CPPFLAGS) + +%: + dh $@ --with python2 + +override_dh_install: + dh_install -X"*_d.so" "debian/tmp/*" -p python-pysqlite1.1 + dh_install "debian/tmp/usr/lib/python*/*-packages/*_d.so" -p python-pysqlite1.1-dbg + dh_install + +override_dh_strip: +ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) + dh_strip --dbg-package=python-pysqlite1.1-dbg +endif |