wok-current annotate matchbox-themes-extra/receipt @ rev 25026
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 10:39:49 2022 +0000 (2022-05-19) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-themes-extra" |
pankso@10838 | 4 VERSION="0.3" |
al@19126 | 5 CATEGORY="customization" |
pankso@10838 | 6 SHORT_DESC="Matchbox extra themes." |
pankso@10838 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pankso@10838 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10838 | 10 WEB_SITE="http://matchbox-project.org/" |
pascal@25026 | 11 WGET_URL="http://www.mirrorservice.org/sites/ftp.cs.vu.nl/pub/minix/distfiles/local/3.3.0/$TARBALL" |
al@19114 | 12 HOST_ARCH="any" |
pankso@10838 | 13 |
pascal@24453 | 14 # What is the latest version available today? |
pascal@24453 | 15 current_version() |
pascal@24453 | 16 { |
pascal@24453 | 17 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/$( \ |
pascal@24453 | 18 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/ 2>/dev/null | \ |
pascal@24453 | 19 sed '/href="[0(9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 20 sed '/href="matchbox-themes-extra-[0-9]/!d;s|.*="matchbox-themes-extra-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24453 | 21 } |
pascal@24453 | 22 |
pankso@10838 | 23 # Rules to configure and make the package. |
pankso@10838 | 24 compile_rules() |
pankso@10838 | 25 { |
pankso@10838 | 26 ./configure $CONFIGURE_ARGS && |
pankso@10838 | 27 make && make DESTDIR=$DESTDIR install |
pankso@10838 | 28 } |
pankso@10838 | 29 |
pankso@10838 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 31 genpkg_rules() |
pankso@10838 | 32 { |
pankso@10838 | 33 mkdir -p $fs/usr |
pankso@10838 | 34 cp -a $install/usr/share $fs/usr |
pankso@10838 | 35 } |