wok view gpick/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (7 months ago) |
parents | 00e3b45c063b |
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="https://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 }