wok-6.x view tango-icon-theme/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | b78e79c31b1f |
children |
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/Tango_Icon_Library"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 #WGET_URL="${WEB_SITE}releases/$TARBALL" # unavailable now
12 WGET_URL="http://http.debian.net/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="intltool gettext perl icon-naming-utils imagemagick-dev \
16 librsvg-dev librsvg-apps"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --enable-png-creation \
30 $CONFIGURE_ARGS && \
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }