wok-6.x view gutenprint/receipt @ rev 15904

8086tiny: update compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 14 13:48:01 2014 +0000 (2014-02-14)
parents 7105e793369a
children 84ae0c3ef107
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gimp-print.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
13 DEPENDS="gnutls readline gtk+ cups libtasn1 gmp"
14 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
15 foomatic-db-engine libtasn1-dev gmp-dev tar"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --mandir=/usr/share/man \
26 --disable-samples \
27 --with-cups \
28 --disable-test \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install 2>&1 | grep -v "rmdir: '/home/slitaz/wok/gutenprint/"
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 $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/cups $fs/usr/lib
43 cp -a $install/usr/lib/gutenprint $fs/usr/lib
44 cp -a $install/usr/share/cups $fs/usr/share
45 cp -a $install/usr/share/$PACKAGE $fs/usr/share
46 cp -a $install/etc $fs
48 # Remove docs
49 rm -rf $fs/usr/share/$PACKAGE/doc
50 }