mirror of
https://github.com/gryf/wicd.git
synced 2025-12-29 01:42:33 +01:00
experimental:
- Add 3rd party python libraries used by ioctl backend to tree and to setup.py - Port several bug fixes from the trunk (removing reliance on shell for running external commands, unicode fixes, gui crash fixes, authentication validation improvements, several others) - Fix some crashes in ioctl backend. - Change daemon/GUI launch scripts to use the -O flag.
This commit is contained in:
63
depends/python-iwscan/debian/rules
Executable file
63
depends/python-iwscan/debian/rules
Executable file
@@ -0,0 +1,63 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
PYVERS=$(shell pyversions -r debian/control)
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
for python in $(PYVERS); do \
|
||||
$$python setup.py build; \
|
||||
done
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
for python in $(PYVERS); do \
|
||||
$$python setup.py clean; \
|
||||
done
|
||||
rm -rf build-stamp build
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
for python in $(PYVERS); do \
|
||||
$$python setup.py install --root=debian/python-iwscan; \
|
||||
done
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdocs -a
|
||||
dh_installexamples -a
|
||||
dh_installchangelogs -a
|
||||
dh_pycentral -a
|
||||
dh_strip -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -a
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary
|
||||
|
||||
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version:\s*\([0-9]\+:\)\?\([^\s-]\+\).*/\2/p')
|
||||
TARBALL := ../python-iwscan-$(VERSION).tar.gz
|
||||
ORIGTGZ := ../tarballs/python-iwscan_$(VERSION).orig.tar.gz
|
||||
DIRTREE := $(shell basename $(CURDIR))
|
||||
upstream-release:
|
||||
$(RM) $(TARBALL) $(ORIGTGZ)
|
||||
tar -czf $(TARBALL) --exclude='.svn' --exclude='debian' -C $(CURDIR)/../ $(DIRTREE)
|
||||
install -D -m 0644 $(TARBALL) $(ORIGTGZ)
|
||||
Reference in New Issue
Block a user