wok annotate gpick/receipt @ rev 24989

updated nfs-utils (2.4.3 -> 2.6.1)
author Hans-G?nter Theisgen
date Thu May 12 17:03:36 2022 +0100 (2022-05-12)
parents af8d823a3077
children 1fdbf2cdfae4
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"
pascal@24978 11 WGET_URL="https://github.com/thezbyg/gpick/archive/$PACKAGE-$VERSION.tar.gz"
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
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - https://github.com/thezbyg/gpick/tags 2>/dev/null | \
pascal@24445 22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
pascal@24445 23 }
pascal@24445 24
al@14066 25 # Rules to configure and make the package.
al@14066 26 compile_rules()
al@14066 27 {
devl547@17615 28 scons DESTDIR=$install BUILD_TARGET="linux2" install
al@14066 29 }
al@14066 30
al@14066 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14066 32 genpkg_rules()
al@14066 33 {
al@14066 34 mkdir -p $fs/usr/share
al@14066 35 cp -a $install/bin $fs/usr
al@14066 36 cp -a $install/share/$PACKAGE $fs/usr/share
al@14066 37 cp -a $install/share/icons $fs/usr/share
al@14066 38 cp -a $install/share/locale $fs/usr/share
al@14066 39 cp -a $install/share/man $fs/usr/share
al@14066 40 }
al@14066 41