wok view matchbox-window-manager-2/receipt @ rev 18325

GTK-2 and Openbox Themes to Slitaz GNU Linux
author Leonardo Laporte <plus.leonardolaporte@gmail.com>
date Sat Sep 05 02:00:47 2015 -0300 (2015-09-05)
parents fb5c703da99f
children 0f5d86ffeb8d
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
23 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
24 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
26 ./autogen.sh \
27 --enable-png-theme \
28 --enable-composite-managers=xrender \
29 --enable-matchbox-remote \
30 --with-pango \
31 --with-gtk \
32 $CONFIGURE_ARGS &&
33 # Fix Makefile identation.
34 sed -i s'/ / /' Makefile &&
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/usr/bin $fs/usr
43 cp -a $install/usr/share $fs/usr
44 }