wok-current view gpick/receipt @ rev 25044
*/stuff/bootloader.S: fix VCPI case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 02 15:48:36 2022 +0000 (2022-06-02) |
parents | af8d823a3077 |
children |
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://www.gpick.org/"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WGET_URL="https://github.com/thezbyg/gpick/archive/$PACKAGE-$VERSION.tar.gz"
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/thezbyg/gpick/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 scons DESTDIR=$install BUILD_TARGET="linux2" install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/bin $fs/usr
36 cp -a $install/share/$PACKAGE $fs/usr/share
37 cp -a $install/share/icons $fs/usr/share
38 cp -a $install/share/locale $fs/usr/share
39 cp -a $install/share/man $fs/usr/share
40 }