wok view matchbox-panel/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents d3eb5f4b53ea
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-panel"
4 VERSION="0.9.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://matchbox-project.org/"
11 WGET_URL="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ startup-notification libmatchbox wireless_tools"
14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev wireless_tools-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \
20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \
21 sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
22 sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;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 -lm"
29 #--enable-small-icons
30 #--enable-acpi-linux
31 ./configure \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 }