wok-6.x annotate mb-applet-volume/receipt @ rev 24927
updated mpg123 and mpg123-dev (1.25.13 -> 1.29.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 14:23:00 2022 +0100 (2022-04-13) |
parents | d3eb5f4b53ea |
children | d358ff3c7097 |
rev | line source |
---|---|
pankso@10838 | 1 # SliTaz package receipt. |
pankso@10838 | 2 |
pankso@10838 | 3 PACKAGE="mb-applet-volume" |
pankso@10838 | 4 VERSION="0.2" |
pankso@10838 | 5 CATEGORY="x-window" |
pankso@10838 | 6 SHORT_DESC="Matchbox volume applet." |
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" |
pankso@10838 | 12 |
pankso@10838 | 13 DEPENDS="gtk+ libmatchbox" |
pankso@10838 | 14 BUILD_DEPENDS="gtk+-dev libmatchbox-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/mb-applet-volume/$( \ |
pascal@24453 | 20 wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/ 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="mb-applet-volume-[0-9]/!d;s|.*="mb-applet-volume-||;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 { |
pankso@10838 | 28 ./configure $CONFIGURE_ARGS && |
pankso@10838 | 29 make && make install |
pankso@10838 | 30 } |
pankso@10838 | 31 |
pankso@10838 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10838 | 33 genpkg_rules() |
pankso@10838 | 34 { |
pankso@10838 | 35 mkdir -p $fs/usr/share |
pankso@10838 | 36 cp -a $install/usr/bin $fs/usr |
pankso@10838 | 37 cp -a $install/usr/share/applications $fs/usr/share |
pankso@10838 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@10838 | 39 } |