wok view gcolor2/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (19 months ago)
parents 7dd01dedad38
children
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="https://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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Latest/!d;s|.* is ||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -p1 -i $stuff/gcolor2.patch
29 cp $stuff/*.po* $src/po
30 sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
32 ./configure $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }