wok-next annotate matchbox-window-manager-2/receipt @ rev 15025

sipsak: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 21:34:10 2013 +0000 (2013-08-11)
parents badf7e0b2bca
children fbceb4928ad5
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@13764 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lexpat"
pascal@11558 22 ./autogen.sh \
pascal@11558 23 --enable-png-theme \
pascal@11558 24 --enable-composite-manager=xrender \
pascal@11558 25 --enable-matchbox-remote \
pascal@11558 26 --with-pango \
pascal@11558 27 --with-gtk \
pascal@11558 28 $CONFIGURE_ARGS &&
pascal@11558 29 # Fix Makefile identation.
pascal@11558 30 sed -i s'/ / /' Makefile &&
pascal@11558 31 make && make install
pascal@11558 32 }
pascal@11558 33
pascal@11558 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11558 35 genpkg_rules()
pascal@11558 36 {
pascal@11558 37 mkdir -p $fs/usr
pascal@11558 38 cp -a $install/usr/bin $fs/usr
pascal@11558 39 cp -a $install/usr/share $fs/usr
pascal@11558 40 }