wok view gcolor2/receipt @ rev 12516
Up: xorg-libXtst (1.2.1) + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:01:48 2012 +0200 (2012-04-25) |
parents | 02bbaa9d12ba |
children | 380ffe05937a |
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev perl-xml-parser"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://gcolor2.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 cp -a $stuff/gcolor2.desktop $fs/usr/share/applications
29 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share $fs/usr
32 cd $fs/usr/share/pixmaps
33 ln -s gcolor2/icon.png gcolor2.png
34 }