wok-6.x view gutenprint/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | 8a29edd59964 |
children | 7105e793369a |
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"
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
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 }