diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:38:02 +0100 |
commit | 50e5ce5b17e69be13228e2393c5804b0a79acfab (patch) | |
tree | 9845fa9af128d7fdd791755bb2be320f3ba2be4e /cups/Pkgfile | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8548e8d6882b55dfb509b18dedfb7db17630037d (diff) | |
download | nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.gz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.bz2 nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.tar.xz nutyx-extra-50e5ce5b17e69be13228e2393c5804b0a79acfab.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-extra
Diffstat (limited to 'cups/Pkgfile')
-rwxr-xr-x | cups/Pkgfile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cups/Pkgfile b/cups/Pkgfile new file mode 100755 index 000000000..b83f8067d --- /dev/null +++ b/cups/Pkgfile @@ -0,0 +1,47 @@ +# Description: Serveur et programmes pour 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: libcups, dbus-glib, libusb, hicolor-icon-theme +# Run on: libcups,dbus-glib,libusb,hicolor-icon-theme,linux-pam,libldap + +name=cups +version=1.4.6 +release=2 +source=( http://ftp.easysw.com/pub/$name/$version/$name-$version-source.tar.bz2\ + cups) + + +build() { + source /etc/blfs-bootscripts + wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2 +# 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 + make BUILDROOT=$PKG install-data install-exec + # Appartient à libcups + rm -f $PKG/usr/bin/cups-config + # Startup Script + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-$name + sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \ + $PKG/usr/share/applications/cups.desktop + install -m754 ../cups $PKG/etc/rc.d/init.d/ + chmod 755 $PKG/var/spool + chmod 755 $PKG/etc +} + |