2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: CUPS - Common UNIX Printing System
|
|
|
|
|
# URL: http://www.cups.org
|
|
|
|
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
|
# Depends on: libpng, libtiff, openssl
|
|
|
|
|
|
|
|
|
|
name=cups
|
2006-05-14 12:07:48 +00:00
|
|
|
|
version=1.2.0
|
|
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(ftp://ftp3.easysw.com/pub/cups/$version/$name-$version-source.tar.bz2 \
|
2006-05-14 12:07:48 +00:00
|
|
|
|
cups-config.patch cups)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
2006-05-14 12:07:48 +00:00
|
|
|
|
patch -p1 < $SRC/cups-config.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--with-docdir=/usr/share/cups/doc \
|
|
|
|
|
--with-logdir=/var/log/cups \
|
|
|
|
|
--with-cups-user=daemon \
|
2006-05-14 12:07:48 +00:00
|
|
|
|
--with-cups-group=lp \
|
|
|
|
|
--with-languages="" \
|
|
|
|
|
--without-{jave,perl,php,python} \
|
|
|
|
|
--enable-threads \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
--enable-ssl=yes \
|
|
|
|
|
--enable-pam=no
|
2006-05-14 12:07:48 +00:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
make
|
|
|
|
|
make BUILDROOT=$PKG install
|
|
|
|
|
|
|
|
|
|
rm -r $PKG/etc/rc.d/*
|
2006-05-14 12:07:48 +00:00
|
|
|
|
rm -r $PKG/usr/share/{locale,icons,applications}
|
|
|
|
|
chmod 0755 $PKG/var/spool
|
|
|
|
|
|
|
|
|
|
install -d $PKG/etc/ssl/{certs,keys}
|
|
|
|
|
touch $PKG/etc/ssl/certs/cups.crt
|
|
|
|
|
touch $PKG/etc/ssl/keys/cups.key
|
|
|
|
|
chmod 0600 $PKG/etc/ssl/{keys/cups.key,certs/cups.crt}
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
install -m 755 $SRC/cups $PKG/etc/rc.d
|
|
|
|
|
}
|