wok-current annotate icon-naming-utils/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | af8d823a3077 |
children |
rev | line source |
---|---|
pankso@38 | 1 # SliTaz package receipt. |
pankso@38 | 2 |
pankso@38 | 3 PACKAGE="icon-naming-utils" |
pankso@3103 | 4 VERSION="0.8.90" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@38 | 6 SHORT_DESC="Perl script used for desktop icon compatibility" |
pankso@38 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
pankso@38 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24894 | 10 WEB_SITE="http://tango.freedesktop.org/Tango_Icon_Library" |
pascal@6408 | 11 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL" |
pankso@38 | 12 |
pascal@15600 | 13 DEPENDS="perl perl-xml-simple" |
pascal@15600 | 14 BUILD_DEPENDS="perl perl-xml-simple" |
pascal@15600 | 15 |
pascal@24445 | 16 # What is the latest version available today? |
pascal@24445 | 17 current_version() |
pascal@24445 | 18 { |
pascal@24445 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 20 sed '/icecast-/!d;/tar/!d;/-beta/d;s|.*icecast-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24445 | 21 } |
pascal@24445 | 22 |
pascal@24445 | 23 # What is the latest version available today? |
pascal@24445 | 24 current_version() |
pascal@24445 | 25 { |
pascal@24445 | 26 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 27 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 28 } |
pascal@24445 | 29 |
pankso@38 | 30 # Rules to configure and make the package. |
pankso@38 | 31 compile_rules() |
pankso@38 | 32 { |
pankso@38 | 33 cd $src |
pankso@38 | 34 ./configure \ |
pankso@38 | 35 --prefix=/usr \ |
pankso@38 | 36 --libexecdir=/usr/lib/icon-naming-utils \ |
pascal@1458 | 37 $CONFIGURE_ARGS && |
pascal@1458 | 38 make && |
pascal@15600 | 39 make DESTDIR=$DESTDIR install |
pankso@38 | 40 } |
pankso@38 | 41 |
pankso@38 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@38 | 43 genpkg_rules() |
pankso@38 | 44 { |
pankso@38 | 45 mkdir -p $fs/usr/share |
pascal@15600 | 46 cp -a $install/usr/lib $fs/usr |
pascal@15600 | 47 cp -a $install/usr/share/dtds $fs/usr/share |
pascal@15600 | 48 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@38 | 49 |
pankso@38 | 50 chmod +x $fs/usr/lib/$PACKAGE/* |
pankso@38 | 51 |
pankso@38 | 52 # For one file we are not going to build a -dev pkg |
pascal@15600 | 53 cp -a $install/usr/share/pkgconfig $fs/usr/lib |
pankso@38 | 54 } |
pankso@38 | 55 |