wok annotate tango-icon-theme/receipt @ rev 25397

updated viewnior (1.7 -> 1.8)
author Hans-G?nter Theisgen
date Tue Aug 02 10:30:16 2022 +0100 (22 months ago)
parents b78e79c31b1f
children ab858238497c
rev   line source
al@18029 1 # SliTaz package receipt.
al@18029 2
al@18029 3 PACKAGE="tango-icon-theme"
al@18029 4 VERSION="0.8.90"
al@19126 5 CATEGORY="customization"
al@18029 6 SHORT_DESC="Tango Icon Theme"
al@18029 7 MAINTAINER="al.bobylev@gmail.com"
al@18029 8 LICENSE="PublicDomain"
pascal@24894 9 WEB_SITE="http://tango.freedesktop.org/Tango_Icon_Library"
al@18029 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19148 11 #WGET_URL="${WEB_SITE}releases/$TARBALL" # unavailable now
al@19148 12 WGET_URL="http://http.debian.net/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
al@18029 13
al@18029 14 DEPENDS=""
al@18029 15 BUILD_DEPENDS="intltool gettext perl icon-naming-utils imagemagick-dev \
al@18029 16 librsvg-dev librsvg-apps"
al@18029 17
pascal@24419 18 # What is the latest version available today?
pascal@24419 19 current_version()
pascal@24419 20 {
pascal@24419 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 22 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 23 }
pascal@24419 24
al@18029 25 # Rules to configure and make the package.
al@18029 26 compile_rules()
al@18029 27 {
al@18029 28 ./configure \
al@18029 29 --enable-png-creation \
al@18029 30 $CONFIGURE_ARGS && \
al@18029 31 make && make install
al@18029 32 }
al@18029 33
al@18029 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18029 35 genpkg_rules()
al@18029 36 {
al@18029 37 cp -a $install/* $fs
al@18029 38 }