wok-6.x annotate matchbox-window-manager-2/receipt @ rev 19800

e4rat: add -lcom_err
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 09:54:23 2017 +0100 (2017-02-25)
parents fb5c703da99f
children 0f5d86ffeb8d
rev   line source
pascal@11558 1 # SliTaz package receipt.
pascal@11558 2
pascal@11558 3 PACKAGE="matchbox-window-manager-2"
pascal@11558 4 VERSION="2106"
pascal@11558 5 CATEGORY="x-window"
pascal@11558 6 SHORT_DESC="Matchbox Window Manager v2."
pascal@11558 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@11558 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11558 10 WEB_SITE="http://matchbox-project.org/"
pascal@11558 11 WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
pascal@11558 12 BRANCH="$VERSION"
pascal@11558 13
pascal@11558 14 DEPENDS="gtk+"
pascal@13764 15 BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool"
pascal@11558 16
pascal@11558 17 # Rules to configure and make the package.
pascal@11558 18 compile_rules()
pascal@11558 19 {
pascal@11558 20 cd $src
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
pascal@15731 22
pascal@15731 23 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
pascal@15731 24 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
pascal@15731 25
pascal@11558 26 ./autogen.sh \
pascal@11558 27 --enable-png-theme \
pascal@15632 28 --enable-composite-managers=xrender \
pascal@11558 29 --enable-matchbox-remote \
pascal@11558 30 --with-pango \
pascal@11558 31 --with-gtk \
pascal@11558 32 $CONFIGURE_ARGS &&
pascal@11558 33 # Fix Makefile identation.
pascal@11558 34 sed -i s'/ / /' Makefile &&
pascal@11558 35 make && make install
pascal@11558 36 }
pascal@11558 37
pascal@11558 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11558 39 genpkg_rules()
pascal@11558 40 {
pascal@11558 41 mkdir -p $fs/usr
pascal@11558 42 cp -a $install/usr/bin $fs/usr
pascal@11558 43 cp -a $install/usr/share $fs/usr
pascal@11558 44 }