summaryrefslogtreecommitdiffstats
path: root/libcups/Pkgfile
blob: 0ee341ebb1a398d47f3bc4df30b44eda9d0cbc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Description: Librairies 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: libjpeg, libpng, libtiff, xdg-utils, dbus, hicolor-icon-theme, linux-pam, libldap
# Run on: libjpeg,libpng,libtiff,xdg-utils,dbus,hicolor-icon-theme,linux-pam,libldap

#kerberos,libjpeg,libpng,openssl,libtiff,zlib

name=libcups
version=1.4.6
release=2
source=( http://ftp.easysw.com/pub/cups/$version/cups-$version-source.tar.bz2)


build() {
	cd cups-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--with-logdir=/var/log/cups \
		--with-docdir=/usr/share/doc/cups \
		--enable-raw-printing \
		--mandir=/usr/share/man \
		--enable-threads \
		--enable-ssl \
		--enable-gnutls=no \
		--infodir=/usr/share/info
	make 
	make BUILDROOT=$PKG install-headers install-libs
	mkdir -p $PKG/usr/bin
	install -m755 cups-config $PKG/usr/bin/cups-config
}