wok-next annotate gtklp/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | baf539ef5c7c |
children | f48456621a9d |
rev | line source |
---|---|
al@20575 | 1 # SliTaz package receipt v2. |
pascal@11550 | 2 |
pascal@11550 | 3 PACKAGE="gtklp" |
pascal@15160 | 4 VERSION="1.3.0" |
pascal@11550 | 5 CATEGORY="utilities" |
al@20575 | 6 SHORT_DESC="Tools to use and administrate CUPS" |
pascal@11550 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@11550 | 9 WEB_SITE="http://gtklp.sourceforge.net/" |
al@20575 | 10 |
pascal@11550 | 11 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
pascal@11550 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11550 | 13 |
pascal@20004 | 14 BUILD_DEPENDS="cups-dev gtk+-dev autoconf automake libtool gettext-tools" |
pascal@11550 | 15 |
al@20575 | 16 compile_rules() { |
pascal@15160 | 17 sed -i 's/^gettextize .*/autopoint -f/' autogen.sh |
al@20575 | 18 chmod +x autogen.sh |
pascal@17424 | 19 ./autogen.sh |
pascal@17424 | 20 # Disable /root/missing script |
pascal@17424 | 21 sed -i '/is-lightweight/{s/eval/! echo/}' configure |
al@20575 | 22 |
al@20575 | 23 ./configure && |
al@20575 | 24 fix libtool && |
pascal@15160 | 25 make && |
al@20575 | 26 make DESTDIR=$DESTDIR install |
pascal@11550 | 27 } |
al@20575 | 28 |
al@20575 | 29 genpkg_rules() { |
al@20575 | 30 copy @std |
al@20575 | 31 DEPENDS="cups gtk+" |
pascal@11550 | 32 } |