wok view gpick/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 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 }