wok-4.x view gcolor2/receipt @ rev 1217
Add: subversion and deps from Lars-Eri, Helander.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Aug 10 07:42:07 2008 +0200 (2008-08-10) |
parents | e4712a15e9ca |
children | c1ff74d9b6f4 |
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+"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gcolor2.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
30 cp -a $_pkg/usr/share $fs/usr
31 cd $fs/usr/share/pixmaps
32 ln -s gcolor2/icon.png gcolor2.png
33 }