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