wok view gcolor2/receipt @ rev 24742
updated libffcall (2.2 -> 2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:31:26 2022 +0100 (2022-03-16) |
parents | ebc54aeac200 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gcolor2"
4 VERSION="0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Light and simple color selector."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gcolor2.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 GENERIC_PIXMAPS="no"
14 DEPENDS="gtk+"
15 SUGGESTED="xorg-rgb"
16 BUILD_DEPENDS="gtk+-dev file"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest/!d;s|.* is ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p1 -i $stuff/gcolor2.patch
28 cp $stuff/*.po* $src/po
29 sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }