diff options
author | Lars Wirzenius <liw@liw.fi> | 2009-10-31 17:13:27 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2009-10-31 17:13:27 +0200 |
commit | abcc56d337726a06b2cf3a1a1703a861c432deb6 (patch) | |
tree | 169bcd9d607911fbcc67753c7d0122856711e912 | |
parent | 7b6184b2c5236786d71e1306d527b31950a184d0 (diff) | |
download | extrautils-abcc56d337726a06b2cf3a1a1703a861c432deb6.tar.gz |
Re-did packaging so it uses dh instead of cdbs.
Dropped Python packaging helpers: I'm only installing
simple scripts and I can't be bothered with the helpers.
A simple dependency on the python package should be
enough to keep things working.
Added some missing stuff to install.
Updated package long description.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | debian/compat | 2 | ||||
-rw-r--r-- | debian/control | 14 | ||||
-rwxr-xr-x | debian/rules | 15 |
4 files changed, 14 insertions, 19 deletions
@@ -5,7 +5,7 @@ mandir = $(sharedir)/man man1dir = $(mandir)/man1 progs = isascii corrupt -scripts = total onerror +scripts = total onerror do-until errno minimify CFLAGS = -Wall -O2 --std=gnu99 diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index 1a64cb7..b65ca8a 100644 --- a/debian/control +++ b/debian/control @@ -3,15 +3,12 @@ Maintainer: Lars Wirzenius <liw@iki.fi> Section: misc Priority: optional Standards-Version: 3.7.3 -Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38), - python-central (>= 0.5.6), python, python-all-dev (>= 2.3.5-11) -XS-Python-Version: all -Homepage: http://iki.fi/extrautils/ +Build-Depends: debhelper (>= 7.3.15) +Homepage: http://liw.fi/extrautils/ Package: extrautils Architecture: any -Depends: ${python:Depends}, ${shlibs:Depends} -XB-Python-Version: ${python:Versions} +Depends: python (>= 2.5), ${shlibs:Depends} Description: collection of miscellaneous Unix command line utilities This is a collection of miscellaneous utilities for the Unix command line, inspired by Joey Hess's moreutils. The inclusion criteria for @@ -20,6 +17,9 @@ Description: collection of miscellaneous Unix command line utilities as they are well made and the author is willing to help with maintenance. . Currently included utilities: + - corrupt: toggle a randomly chosen bit in a file - do-until: execute a command until it succeeds + - errno: look up errno names, values, explanations - isascii: check whether a file consists of ASCII characters only - - total: add up all numbers in the first column + - minimify: find best tool to compress a given file + - onerror: execute command, show its output only if it fails diff --git a/debian/rules b/debian/rules index d9e147a..c69f807 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,7 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM=pycentral - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk - -build/extrautils:: - $(MAKE) - -clean:: - $(MAKE) clean +%: + dh $@ + +override_dh_auto_install: + $(MAKE) install prefix=debian/extrautils |