wok-6.x view gpick/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
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 }