wok-6.x view matchbox-window-manager/receipt @ rev 25026
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 10:39:49 2022 +0000 (2022-05-19) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-window-manager"
4 VERSION="1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="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="http://www.mucross.com/downloads/tonga-linux/sources/GPL/matchbox-wm/$TARBALL"
12 TAGS="window-manager"
14 DEPENDS="gtk+ startup-notification libmatchbox"
15 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/$( \
21 wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/ 2>/dev/null | \
22 sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
23 sed '/href="matchbox-window-manager-[0-9]/!d;s|.*="matchbox-window-manager-||;s|.tar.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --enable-expat \
32 --enable-startup-notification \
33 --enable-session \
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
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
45 }