wok-next view gutenprint/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gutenprint"
4 VERSION="5.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Top quality printer drivers for Canon, Epson"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://gimp-print.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
14 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
15 foomatic-db-engine libtasn1-dev gmp-dev tar"
16 SPLIT="$PACKAGE-dev"
17 COOKOPTS="skip-log-errors"
19 compile_rules() {
20 ./configure \
21 --disable-samples \
22 --with-cups \
23 --disable-test \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 gutenprint)
33 copy @std
34 rm -rf $fs/usr/share/$PACKAGE/doc # Remove docs
35 DEPENDS="gnutls readline gtk2 cups libtasn1 gmp"
36 ;;
37 gutenprint-dev)
38 copy @dev
39 ;;
40 esac
41 }