wok annotate gpick/receipt @ rev 21115

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:51:13 2019 +0100 (2019-03-19)
parents ebc4f7a577c1
children af8d823a3077
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"
pascal@20673 9 WEB_SITE="http://www.gpick.org/"
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