wok view gutenprint/receipt @ rev 3629

fix depends in centerim
author Allan Pinto <allan316@gmail.com>
date Thu Jul 02 14:16:37 2009 +0000 (2009-07-02)
parents b1c8a17cf2ac
children 4ab9080e26aa
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.2.3"
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"
9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gimp-print.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/gimp-print/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var \
22 --mandir=/usr/share/man \
23 --disable-samples \
24 --with-cups \
25 --disable-libgutenprintui \
26 --disable-gtktest \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/cups $fs/usr/lib
42 cp -a $_pkg/usr/lib/gutenprint $fs/usr/lib
43 cp -a $_pkg/usr/share/cups $fs/usr/share
44 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
45 cp -a $_pkg/etc $fs
47 # Remove docs
48 rm -rf $fs/usr/share/$PACKAGE/doc
51 }