wok view matchbox-common/receipt @ rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents d3eb5f4b53ea
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-common"
4 VERSION="0.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Common files for matchbox window 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="${WEB_SITE}sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libmatchbox"
14 BUILD_DEPENDS="gtk+-dev libmatchbox-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/$( \
20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/ 2>/dev/null | \
21 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
22 sed '/href="matchbox-common-[0-9]/!d;s|.*="matchbox-common-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/usr/share $fs/usr
37 cp -a $stuff/matchbox-session $fs/usr/bin
38 # For matchbox v2
39 #cp -a $stuff/matchbox-session-2 $fs/usr/bin
40 }