summaryrefslogtreecommitdiffstats
path: root/extra/cupsddk/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:41:52 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:41:52 +0200
commit5eba63688715025f45ad428648fea571330d8e70 (patch)
treecc0c0106f150d3f952b1a5ee66665b07e0a2771d /extra/cupsddk/Pkgfile
parent4567c219ce2825b2183b023e56358716923483b2 (diff)
downloadnutyx-pakxe-5eba63688715025f45ad428648fea571330d8e70.tar.gz
nutyx-pakxe-5eba63688715025f45ad428648fea571330d8e70.tar.bz2
nutyx-pakxe-5eba63688715025f45ad428648fea571330d8e70.tar.xz
nutyx-pakxe-5eba63688715025f45ad428648fea571330d8e70.zip
Ajout de cupsddk#1.2.3-1
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
+
+
+}
+