wok view gpick/receipt @ rev 24821
updated libpcap and libpcap-dev (1.9.1 -> 1.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 11:02:18 2022 +0100 (2022-03-23) |
parents | e3f377fbc5f0 |
children | 00e3b45c063b |
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="http://$PACKAGE.googlecode.com/files/$TARBALL"
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 }