wok-current view gcolor2/receipt @ rev 16535

linux-source: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 28 07:52:49 2014 +0000 (2014-04-28)
parents 380ffe05937a
children ebc54aeac200
line source
1 # SliTaz package receipt.
3 PACKAGE="gcolor2"
4 VERSION="0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Light and simple color selector."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gcolor2.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev perl-xml-parser file"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications
30 cp -a $stuff/gcolor2.desktop $fs/usr/share/applications
31 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share $fs/usr
34 cd $fs/usr/share/pixmaps
35 ln -s gcolor2/icon.png gcolor2.png
36 }