wok view tango-icon-theme/receipt @ rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents 4125548935d3
children 870e1ce31226
line source
1 # SliTaz package receipt.
3 PACKAGE="tango-icon-theme"
4 VERSION="0.8.90"
5 CATEGORY="customization"
6 SHORT_DESC="Tango Icon Theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 #WEB_SITE="http://tango.freedesktop.org/" # unavailable now
10 WEB_SITE="http://tango-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="${WEB_SITE}releases/$TARBALL" # unavailable now
13 WGET_URL="http://http.debian.net/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
15 DEPENDS=""
16 BUILD_DEPENDS="intltool gettext perl icon-naming-utils imagemagick-dev \
17 librsvg-dev librsvg-apps"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --enable-png-creation \
31 $CONFIGURE_ARGS && \
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }