wok view matchbox-window-manager/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 0ad13e0c0b90 |
children | 505d1daeed6c |
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="${WEB_SITE}sources/$PACKAGE/$VERSION/$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 }