wok view gpick/receipt @ rev 15845

dosfstools: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 11:23:53 2014 +0000 (2014-01-27)
parents 519c7a6d4d2d
children 385863fbe39c
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 LICENSE="BSD"
9 WEB_SITE="http://code.google.com/p/gpick/"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="gtk+"
14 SUGGESTED="lua"
15 BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \
16 dbus-glib-dev lua-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 scons DESTDIR=$install BUILD_TARGET="i486" install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $install/bin $fs/usr
29 cp -a $install/share/$PACKAGE $fs/usr/share
30 cp -a $install/share/icons $fs/usr/share
31 cp -a $install/share/locale $fs/usr/share
32 cp -a $install/share/man $fs/usr/share
33 }