wok-6.x view matchbox-panel-2/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 380ffe05937a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-panel-2"
4 VERSION="2111"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox panel v2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://matchbox-project.org/"
11 #WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/${PACKAGE:0:1}/$TARBALL"
13 BRANCH="$VERSION"
15 DEPENDS="gtk+ dbus dbus-glib util-linux-uuid"
16 BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev subversion \
17 autoconf automake libtool"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \
23 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \
24 sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
25 sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 ./autogen.sh \
33 --disable-startup-notification \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/matchbox-panel
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/matchbox-panel/*.so \
44 $fs/usr/lib/matchbox-panel
45 cp -a $install/usr/share $fs/usr
46 }