wok view matchbox-panel-manager/receipt @ rev 24980

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