wok-next annotate gutenprint/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 0ec6086e21d6
children d5aab818505e
rev   line source
pascal@20319 1 # SliTaz package receipt v2.
jozee@2765 2
jozee@2765 3 PACKAGE="gutenprint"
slaxemulator@13063 4 VERSION="5.2.8"
jozee@2765 5 CATEGORY="system-tools"
jozee@2765 6 SHORT_DESC="Top quality printer drivers for Canon, Epson"
jozee@2765 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20575 9 WEB_SITE="http://gimp-print.sourceforge.net/"
al@20575 10
pascal@15000 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15000 12 WGET_URL="$SF_MIRROR/gimp-print/$TARBALL"
pascal@15000 13
pascal@5033 14 BUILD_DEPENDS="gnutls-dev expat-dev cups-dev libgcrypt-dev zlib-dev \
pascal@15302 15 foomatic-db-engine libtasn1-dev gmp-dev tar"
pascal@20319 16 SPLIT="gutenprint-dev"
al@20575 17 COOKOPTS="skip-log-errors"
jozee@2765 18
al@20534 19 compile_rules() {
jozee@2765 20 ./configure \
slaxemulator@6305 21 --disable-samples \
jozee@2765 22 --with-cups \
slaxemulator@6305 23 --disable-test \
jozee@2765 24 $CONFIGURE_ARGS &&
al@20575 25 fix libtool &&
jozee@2765 26 make &&
al@20575 27 make install
jozee@2765 28 }
jozee@2765 29
al@20534 30 genpkg_rules() {
pascal@20319 31 case $PACKAGE in
al@20534 32 gutenprint)
al@20534 33 copy @std
al@20534 34 rm -rf $fs/usr/share/$PACKAGE/doc # Remove docs
al@21017 35 DEPENDS="gnutls readline gtk2 cups libtasn1 gmp"
al@20534 36 ;;
al@20534 37 gutenprint-dev)
al@20534 38 copy @dev
al@20534 39 ;;
pascal@20319 40 esac
jozee@2765 41 }