wok annotate 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 |
rev | line source |
---|---|
al@14066 | 1 # SliTaz package receipt. |
al@14066 | 2 |
al@14066 | 3 PACKAGE="gpick" |
al@17609 | 4 VERSION="0.2.5" |
al@14066 | 5 CATEGORY="graphics" |
al@14066 | 6 SHORT_DESC="Advanced color picker written in C++ using GTK+ toolkit" |
al@14066 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15600 | 8 LICENSE="BSD" |
al@14066 | 9 WEB_SITE="http://code.google.com/p/gpick/" |
al@14066 | 10 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
al@14066 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
al@14066 | 12 |
al@14066 | 13 DEPENDS="gtk+" |
al@14066 | 14 SUGGESTED="lua" |
al@14066 | 15 BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \ |
al@14066 | 16 dbus-glib-dev lua-dev" |
al@14066 | 17 |
al@14066 | 18 # Rules to configure and make the package. |
al@14066 | 19 compile_rules() |
al@14066 | 20 { |
devl547@17615 | 21 scons DESTDIR=$install BUILD_TARGET="linux2" install |
al@14066 | 22 } |
al@14066 | 23 |
al@14066 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14066 | 25 genpkg_rules() |
al@14066 | 26 { |
al@14066 | 27 mkdir -p $fs/usr/share |
al@14066 | 28 cp -a $install/bin $fs/usr |
al@14066 | 29 cp -a $install/share/$PACKAGE $fs/usr/share |
al@14066 | 30 cp -a $install/share/icons $fs/usr/share |
al@14066 | 31 cp -a $install/share/locale $fs/usr/share |
al@14066 | 32 cp -a $install/share/man $fs/usr/share |
al@14066 | 33 } |
al@14066 | 34 |