wok-current view matchbox-window-manager-2/receipt @ rev 25042
Up lzsa (1.3.12), zstd (1.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 08:14:05 2022 +0000 (2022-06-01) |
parents | 0f5d86ffeb8d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-window-manager-2"
4 VERSION="2106"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox Window Manager v2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
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 BRANCH="$VERSION"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool expat-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://git.yoctoproject.org/libmatchboxwm2/ 2>/dev/null | \
21 sed '/title=.[0-9]/!d;s|.*title=.||;s| .*||;s|-||g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
29 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
30 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
32 ./autogen.sh \
33 --enable-png-theme \
34 --enable-composite-managers=xrender \
35 --enable-matchbox-remote \
36 --with-pango \
37 --with-gtk \
38 $CONFIGURE_ARGS &&
39 # Fix Makefile identation.
40 sed -i s'/ / /' Makefile &&
41 make && make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share $fs/usr
50 }