summaryrefslogtreecommitdiffstats
path: root/extra/cupsddk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cupsddk/Pkgfile')
-rw-r--r--extra/cupsddk/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/cupsddk/Pkgfile b/extra/cupsddk/Pkgfile
new file mode 100644
index 000000000..f7a0a25a2
--- /dev/null
+++ b/extra/cupsddk/Pkgfile
@@ -0,0 +1,34 @@
+# Description: Le kit de développement pour les pilotes CUPS
+# URL: http://www.cups.org/ddk/index.php
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cups gnutls
+
+name=cupsddk
+version=1.2.3
+release=1
+source="ftp://ftp.easysw.com/pub/cupsddk/$version/$name-$version-source.tar.bz2"
+
+build() {
+ cd $name-$version
+ ./configure --prefix=$PKG/usr
+ make
+ make prefix=$PKG/usr \
+ CUPS_DATADIR=$PKG/`cups-config --datadir` \
+ CUPS_SERVERBIN=$PKG/`cups-config --serverbin` \
+ install
+ rm -rf $PKG/usr/share/doc
+ rm -rf $PKG/usr/share/cupsddk/po
+ for i in ppdc.1.gz ppdhtml.1.gz ppdi.1.gz ppdmerge.1.gz ppdpo.1.gz
+ do rm $PKG/usr/share/man/man1/$i
+ done
+ rm -r $PKG/usr/share/man/man5
+ rm -r $PKG/usr/lib/cups/filter
+ rm -r $PKG/usr/include
+ for i in ppdc ppdhtml ppdi ppdmerge ppdpo
+ do rm $PKG/usr/bin/$i
+ done
+
+
+}
+