wok-current view gutenprint/receipt @ rev 13130
libboost-dev: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 05 12:35:50 2012 +0200 (2012-07-05) |
parents | d5ae23644b77 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gutenprint"
4 VERSION="5.2.8"
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 gmp"
9 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
10 foomatic-db-engine libtasn1-dev gmp-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gimp-print.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/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-test \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/cups $fs/usr/lib
41 cp -a $install/usr/lib/gutenprint $fs/usr/lib
42 cp -a $install/usr/share/cups $fs/usr/share
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 cp -a $install/etc $fs
46 # Remove docs
47 rm -rf $fs/usr/share/$PACKAGE/doc
48 }