wok view gutenprint/receipt @ rev 6309
Up: bison to 2.4.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 16 20:53:23 2010 +0000 (2010-09-16) |
parents | 31630876239a |
children | b304b521220c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.2.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Top quality printer drivers for Canon, Epson"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gnutls readline gtk+ cups libtasn1"
9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
10 foomatic-db-engine libtasn1-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gimp-print.sourceforge.net/"
13 WGET_URL="http://downloads.sourceforge.net/gimp-print/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --mandir=/usr/share/man \
24 --disable-samples \
25 --with-cups \
26 --disable-libgutenprintui2 \
27 --disable-test \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/sbin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/lib/cups $fs/usr/lib
43 cp -a $_pkg/usr/lib/gutenprint $fs/usr/lib
44 cp -a $_pkg/usr/share/cups $fs/usr/share
45 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
46 cp -a $_pkg/etc $fs
48 # Remove docs
49 rm -rf $fs/usr/share/$PACKAGE/doc
52 }