summaryrefslogtreecommitdiffstats
path: root/extra/system-config-printer
diff options
context:
space:
mode:
Diffstat (limited to 'extra/system-config-printer')
-rw-r--r--extra/system-config-printer/.footprint14
-rw-r--r--extra/system-config-printer/.md5sum1
-rwxr-xr-xextra/system-config-printer/Pkgfile28
3 files changed, 43 insertions, 0 deletions
diff --git a/extra/system-config-printer/.footprint b/extra/system-config-printer/.footprint
new file mode 100644
index 000000000..4669ed52f
--- /dev/null
+++ b/extra/system-config-printer/.footprint
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/python2.5/
+drwxr-xr-x root/root usr/lib/python2.5/site-packages/
+drwxr-xr-x root/root usr/lib/python2.5/site-packages/cupshelpers/
+-rw-r--r-- root/root usr/lib/python2.5/site-packages/cupshelpers/__init__.py
+-rw-r--r-- root/root usr/lib/python2.5/site-packages/cupshelpers/cupshelpers.py
+-rw-r--r-- root/root usr/lib/python2.5/site-packages/cupshelpers/openprinting.py
+-rw-r--r-- root/root usr/lib/python2.5/site-packages/cupshelpers/ppds.py
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/system-config-printer/
+-rw-r--r-- root/root usr/share/system-config-printer/config.py
+-rw-r--r-- root/root usr/share/system-config-printer/debug.py
+-rw-r--r-- root/root usr/share/system-config-printer/smburi.py
diff --git a/extra/system-config-printer/.md5sum b/extra/system-config-printer/.md5sum
new file mode 100644
index 000000000..9ea70b743
--- /dev/null
+++ b/extra/system-config-printer/.md5sum
@@ -0,0 +1 @@
+18d7455f832a9bc5b72d15e5e38913cd system-config-printer-1.1.10.tar.bz2
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
+}