wok annotate tango-icon-theme/receipt @ rev 24568
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 16:37:15 2022 +0000 (2022-02-26) |
parents | 4125548935d3 |
children | 870e1ce31226 |
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" |
al@19148 | 9 #WEB_SITE="http://tango.freedesktop.org/" # unavailable now |
al@19148 | 10 WEB_SITE="http://tango-project.org/" |
al@18029 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19148 | 12 #WGET_URL="${WEB_SITE}releases/$TARBALL" # unavailable now |
al@19148 | 13 WGET_URL="http://http.debian.net/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" |
al@18029 | 14 |
al@18029 | 15 DEPENDS="" |
al@18029 | 16 BUILD_DEPENDS="intltool gettext perl icon-naming-utils imagemagick-dev \ |
al@18029 | 17 librsvg-dev librsvg-apps" |
al@18029 | 18 |
pascal@24419 | 19 # What is the latest version available today? |
pascal@24419 | 20 current_version() |
pascal@24419 | 21 { |
pascal@24419 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 23 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 24 } |
pascal@24419 | 25 |
al@18029 | 26 # Rules to configure and make the package. |
al@18029 | 27 compile_rules() |
al@18029 | 28 { |
al@18029 | 29 ./configure \ |
al@18029 | 30 --enable-png-creation \ |
al@18029 | 31 $CONFIGURE_ARGS && \ |
al@18029 | 32 make && make install |
al@18029 | 33 } |
al@18029 | 34 |
al@18029 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18029 | 36 genpkg_rules() |
al@18029 | 37 { |
al@18029 | 38 cp -a $install/* $fs |
al@18029 | 39 } |