wok-next view matchbox-window-manager-2/receipt @ rev 18351
Rebuild packages that depends on giflib & nettle (ldd fail)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Sep 12 15:52:07 2015 +0200 (2015-09-12) |
parents | fb5c703da99f |
children | 2c409915a36c |
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 }