wok annotate matchbox-panel-manager/receipt @ rev 24994
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 15 20:25:22 2022 +0000 (2022-05-15) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="matchbox-panel-manager" |
pankso@10838 | 4 VERSION="0.1" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Matchbox Panel Manager." |
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@24980 | 11 WGET_URL="http://downloads.yoctoproject.org/releases/matchbox/$PACKAGE/$VERSION/$TARBALL" |
pankso@10838 | 12 |
pankso@10838 | 13 DEPENDS="gtk+ matchbox-panel" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev" |
pankso@10838 | 15 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24453 | 19 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/$( \ |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/ 2>/dev/null | \ |
pascal@24453 | 21 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@24453 | 22 sed '/href="matchbox-panel-manager-[0-9]/!d;s|.*="matchbox-panel-manager-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pankso@10838 | 25 # Rules to configure and make the package. |
pankso@10838 | 26 compile_rules() |
pankso@10838 | 27 { |
pascal@17670 | 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pankso@10838 | 29 ./configure $CONFIGURE_ARGS && |
pankso@10838 | 30 make && make install |
pankso@10838 | 31 } |
pankso@10838 | 32 |
pankso@10838 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 34 genpkg_rules() |
pankso@10838 | 35 { |
pankso@10838 | 36 mkdir -p $fs/usr |
pankso@10838 | 37 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 38 cp -a $install/usr/share $fs/usr |
pankso@10838 | 39 } |