wok-4.x view gutenprint/receipt @ rev 6094
tazbb/sort_cook_list: wanted fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 30 16:34:18 2010 +0200 (2010-08-30) |
parents | 116602ef2d27 |
children | 31630876239a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.2.4"
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"
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-libgutenprintui \
27 --disable-gtktest \
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 }