wok annotate gcolor2/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
parents ebc54aeac200
children 7dd01dedad38
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gcolor2"
pankso@43 4 VERSION="0.4"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Light and simple color selector."
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@43 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@43 10 WEB_SITE="http://gcolor2.sourceforge.net/"
pankso@43 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@17368 12 GENERIC_PIXMAPS="no"
pankso@43 13
al@17368 14 DEPENDS="gtk+"
al@17368 15 SUGGESTED="xorg-rgb"
al@17368 16 BUILD_DEPENDS="gtk+-dev file"
pascal@15000 17
pascal@24069 18 current_version()
pascal@24069 19 {
pascal@24069 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24069 21 sed '/Latest/!d;s|.* is ||;s|<.*||'
pascal@24069 22 }
pascal@24069 23
pankso@43 24 # Rules to configure and make the package.
pankso@43 25 compile_rules()
pankso@43 26 {
al@17368 27 patch -p1 -i $stuff/gcolor2.patch
al@17368 28 cp $stuff/*.po* $src/po
al@17368 29 sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
al@17368 30
al@17368 31 ./configure $CONFIGURE_ARGS &&
pascal@1465 32 make &&
pascal@15000 33 make DESTDIR=$DESTDIR install
pankso@43 34 }
pankso@43 35
pankso@43 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 37 genpkg_rules()
pankso@43 38 {
al@17368 39 mkdir -p $fs/usr
pascal@15000 40 cp -a $install/usr/bin $fs/usr
pankso@43 41 }
pankso@43 42