wok-6.x annotate matchbox-themes-extra/receipt @ rev 25001

updated nnn (4.0 -> 4.5)
author Hans-G?nter Theisgen
date Mon May 16 14:07:26 2022 +0100 (2022-05-16)
parents 40fab26c175d
children 505d1daeed6c
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@17869 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$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 }