wok annotate gcolor2/receipt @ rev 15014
giac: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 14:06:30 2013 +0000 (2013-08-11) |
parents | 380ffe05937a |
children | ebc54aeac200 |
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" |
pankso@43 | 12 |
pascal@15000 | 13 DEPENDS="gtk+ xorg-libXdamage" |
pascal@15012 | 14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev perl-xml-parser file" |
pascal@15000 | 15 |
pankso@43 | 16 # Rules to configure and make the package. |
pankso@43 | 17 compile_rules() |
pankso@43 | 18 { |
pankso@43 | 19 cd $src |
pankso@43 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1465 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1465 | 22 make && |
pascal@15000 | 23 make DESTDIR=$DESTDIR install |
pankso@43 | 24 } |
pankso@43 | 25 |
pankso@43 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 27 genpkg_rules() |
pankso@43 | 28 { |
pascal@11623 | 29 mkdir -p $fs/usr/share/applications |
pascal@11623 | 30 cp -a $stuff/gcolor2.desktop $fs/usr/share/applications |
pascal@15000 | 31 cp -a $install/usr/bin $fs/usr |
pankso@43 | 32 |
pascal@15000 | 33 cp -a $install/usr/share $fs/usr |
pankso@43 | 34 cd $fs/usr/share/pixmaps |
pankso@43 | 35 ln -s gcolor2/icon.png gcolor2.png |
pankso@43 | 36 } |
pankso@43 | 37 |