wok view gpick/receipt @ rev 17615

Fix: gpick build
author Alexander Medvedev <devl547@gmail.com>
date Thu Feb 12 20:33:54 2015 +0000 (2015-02-12)
parents 385863fbe39c
children e3f377fbc5f0
line source
1 # SliTaz package receipt.
3 PACKAGE="gpick"
4 VERSION="0.2.5"
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="linux2" 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 }