summaryrefslogtreecommitdiffstats
path: root/extra/cups/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:41:02 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:41:02 +0200
commit4567c219ce2825b2183b023e56358716923483b2 (patch)
tree5124ce0be619b4c9b4d480b1487aafe1bbf8812d /extra/cups/Pkgfile
parentc2eda468194b03ef2dac6bbddab3970d25cfeda7 (diff)
downloadnutyx-extra-4567c219ce2825b2183b023e56358716923483b2.tar.gz
nutyx-extra-4567c219ce2825b2183b023e56358716923483b2.tar.bz2
nutyx-extra-4567c219ce2825b2183b023e56358716923483b2.tar.xz
nutyx-extra-4567c219ce2825b2183b023e56358716923483b2.zip
Ajout de cups#1.3.11-1
Diffstat (limited to 'extra/cups/Pkgfile')
-rwxr-xr-xextra/cups/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/cups/Pkgfile b/extra/cups/Pkgfile
new file mode 100755
index 000000000..3e748d9e6
--- /dev/null
+++ b/extra/cups/Pkgfile
@@ -0,0 +1,41 @@
+# Description: Common UNIX Printing System, le système d'impression pour Linux
+# URL: http://www.cups.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libjpeg, libpng, libtiff, xpdf
+
+name=cups
+version=1.3.11
+release=1
+source=( http://ftp.easysw.com/pub/$name/$version/$name-$version-source.tar.bz2\
+ cups)
+
+
+build() {
+ source /etc/blfs-bootscripts
+ wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+ tar xvf $scripts-$scriptsversion.tar.bz2
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-logdir=/var/log/cups \
+ --with-docdir=/usr/share/doc/cups \
+ --enable-raw-printing \
+ --enable-pdftops \
+ --with-pdftops=pdftops \
+ --mandir=/usr/share/man \
+ --enable-threads \
+ --enable-ssl \
+ --enable-gnutls=no \
+ --infodir=/usr/share/info
+ make -j3
+ make BUILDROOT=$PKG install
+ # Startup Script
+ cd ../$scripts-$scriptsversion
+ make DESTDIR=$PKG install-$name
+ install -m754 ../cups $PKG/etc/rc.d/init.d/
+ sed -i "s/htmlview/firefox/" $PKG/usr/share/applications/cups.desktop
+ chmod 755 $PKG/var/spool
+ chmod 755 $PKG/etc
+}