wok-current view matchbox-window-manager-2/receipt @ rev 15984
tcc: improve arm support but still not cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 00:29:29 2014 +0100 (2014-03-02) |
parents | fbceb4928ad5 |
children | 17e313b5b9c1 |
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="-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 }