summaryrefslogtreecommitdiffstats
path: root/extra/system-config-printer/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:50:29 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:50:29 +0200
commitbb235036d3e5db069d8182f06523b487d98c4c12 (patch)
tree8f0ec6ac6dfa5170ec79c120448e3a3a4bbe76d3 /extra/system-config-printer/Pkgfile
parent7d510a70677b42bba6e460e310f7802568e07be0 (diff)
downloadnutyx-pakxe-bb235036d3e5db069d8182f06523b487d98c4c12.tar.gz
nutyx-pakxe-bb235036d3e5db069d8182f06523b487d98c4c12.tar.bz2
nutyx-pakxe-bb235036d3e5db069d8182f06523b487d98c4c12.tar.xz
nutyx-pakxe-bb235036d3e5db069d8182f06523b487d98c4c12.zip
Ajout de system-config-printe#1.1.10-1
Diffstat (limited to 'extra/system-config-printer/Pkgfile')
-rwxr-xr-xextra/system-config-printer/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/system-config-printer/Pkgfile b/extra/system-config-printer/Pkgfile
new file mode 100755
index 000000000..3426197e3
--- /dev/null
+++ b/extra/system-config-printer/Pkgfile
@@ -0,0 +1,28 @@
+# 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
+
+name=system-config-printer
+version=1.1.10
+release=1
+source=(http://cyberelk.net/tim/data/$name/1.1/$name-$version.tar.bz2)
+
+
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc
+ make
+ install -d $PKG/usr/share/$name
+ install -d $PKG/usr/lib/python2.5/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/python2.5/site-packages/cupshelpers/$(basename $i)
+ done
+}