wok-current annotate gcolor2/receipt @ rev 115
Set BUILD_DEPENDS for cairo, glib, atk and gtk+
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 00:17:11 2008 +0100 (2008-01-05) |
parents | |
children | 4959e5789caa |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gcolor2" |
pankso@43 | 4 VERSION="0.4" |
pankso@43 | 5 CATEGORY="extra" |
pankso@43 | 6 SHORT_DESC="Light and simple color selector." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 DEPENDS="gtk+" |
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" |
pankso@43 | 12 |
pankso@43 | 13 # Rules to configure and make the package. |
pankso@43 | 14 compile_rules() |
pankso@43 | 15 { |
pankso@43 | 16 cd $src |
pankso@43 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@43 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@43 | 19 make |
pankso@43 | 20 make DESTDIR=$PWD/_pkg install |
pankso@43 | 21 } |
pankso@43 | 22 |
pankso@43 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 24 genpkg_rules() |
pankso@43 | 25 { |
pankso@43 | 26 mkdir -p $fs/usr |
pankso@43 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 28 strip -s $fs/usr/bin/* |
pankso@43 | 29 |
pankso@43 | 30 cp -a $_pkg/usr/share $fs/usr |
pankso@43 | 31 cd $fs/usr/share/pixmaps |
pankso@43 | 32 ln -s gcolor2/icon.png gcolor2.png |
pankso@43 | 33 } |
pankso@43 | 34 |