diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /system-config-printer/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'system-config-printer/Pkgfile')
-rwxr-xr-x | system-config-printer/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/system-config-printer/Pkgfile b/system-config-printer/Pkgfile new file mode 100755 index 000000000..a760b5151 --- /dev/null +++ b/system-config-printer/Pkgfile @@ -0,0 +1,30 @@ +# Description: Configuration de cups via Python +# URL: http://cyberelk.net/tim/software/system-config-printer/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: pycups, pyxml, dbus-python, xmlto, intltool +# Run on: pycups,pyxml,dbus-python,xmlto + +name=system-config-printer +version=1.3.7 +python_version=2.7 +release=1 + +source=(http://cyberelk.net/tim/data/$name/1.3/$name-$version.tar.xz) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc + make + install -d $PKG/usr/share/$name + install -d $PKG/usr/lib/python$python_version/site-packages/cupshelpers + install -m644 config.py debug.py smburi.py \ + $PKG/usr/share/$name/ + for i in build/lib/cupshelpers/*.py; do + install -Dm644 $i \ + $PKG/usr/lib/python$python_version/site-packages/cupshelpers/$(basename $i) + done +} + |