wok-current view gutenprint/receipt @ rev 4967
Fix: amsn DEPENDS (Thanks davesurrey and Nik)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 23 21:36:47 2010 +0100 (2010-02-23) |
parents | 782032535663 |
children | 116602ef2d27 |
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"
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 }