wok-next view matchbox-window-manager-2/receipt @ rev 20256

ecm: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 15:55:13 2017 +0100 (2017-11-07)
parents 17e313b5b9c1
children 4744ab6d2481
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 \
16 xorg-libXcomposite-dev xorg-libXdamage-dev libpng12-dev expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
24 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
25 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
27 ./autogen.sh \
28 --enable-png-theme \
29 --enable-composite-managers=xrender \
30 --enable-matchbox-remote \
31 --with-pango \
32 --with-gtk \
33 $CONFIGURE_ARGS &&
34 # Fix Makefile identation.
35 sed -i s'/ / /' Makefile &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share $fs/usr
45 }