wok-current view gpick/receipt @ rev 14325
notecase: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 08 09:02:42 2013 +0200 (2013-04-08) |
parents | |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpick"
4 VERSION="0.2.5rc1"
5 CATEGORY="graphics"
6 SHORT_DESC="Advanced color picker written in C++ using GTK+ toolkit"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://code.google.com/p/gpick/"
9 TARBALL="${PACKAGE}_$VERSION.tar.gz"
10 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
12 DEPENDS="gtk+"
13 SUGGESTED="lua"
14 BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \
15 dbus-glib-dev lua-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 scons DESTDIR=$install BUILD_TARGET="i486" install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $install/bin $fs/usr
28 cp -a $install/share/$PACKAGE $fs/usr/share
29 cp -a $install/share/icons $fs/usr/share
30 cp -a $install/share/locale $fs/usr/share
31 cp -a $install/share/man $fs/usr/share
32 }