wok-6.x view gutenprint/receipt @ rev 12872
avidemux: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 25 09:43:11 2012 +0200 (2012-05-25) |
parents | c52ad5bc3816 |
children | 8a29edd59964 |
line source
1 # SliTaz package receipt.
4 PACKAGE="gutenprint"
5 VERSION="5.2.7"
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="$SF_MIRROR/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 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
51 }