wok-current annotate matchbox-window-manager-2/receipt @ rev 13411

powertop: fix deps, bdeps & genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 01 10:08:31 2012 +0200 (2012-10-01)
parents 80e401c75f3c
children badf7e0b2bca
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@11558 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11558 9 WEB_SITE="http://matchbox-project.org/"
pascal@11558 10 WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
pascal@11558 11 BRANCH="$VERSION"
pascal@11558 12
pascal@11558 13 DEPENDS="gtk+"
pascal@11568 14 BUILD_DEPENDS="gtk+-dev subversion libffi"
pascal@11558 15
pascal@11558 16 # Rules to configure and make the package.
pascal@11558 17 compile_rules()
pascal@11558 18 {
pascal@11558 19 cd $src
pascal@11558 20 ./autogen.sh \
pascal@11558 21 --enable-png-theme \
pascal@11558 22 --enable-composite-manager=xrender \
pascal@11558 23 --enable-matchbox-remote \
pascal@11558 24 --with-pango \
pascal@11558 25 --with-gtk \
pascal@11558 26 $CONFIGURE_ARGS &&
pascal@11558 27 # Fix Makefile identation.
pascal@11558 28 sed -i s'/ / /' Makefile &&
pascal@11558 29 make && make install
pascal@11558 30 }
pascal@11558 31
pascal@11558 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11558 33 genpkg_rules()
pascal@11558 34 {
pascal@11558 35 mkdir -p $fs/usr
pascal@11558 36 cp -a $install/usr/bin $fs/usr
pascal@11558 37 cp -a $install/usr/share $fs/usr
pascal@11558 38 }