wok-6.x annotate matchbox-desktop/receipt @ rev 16310

ARM: add patch
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 09:11:44 2014 +0200 (2014-04-09)
parents 1ae5963f23df
children 17e313b5b9c1
rev   line source
pankso@10838 1 # SliTaz package receipt.
pankso@10838 2
pankso@10838 3 PACKAGE="matchbox-desktop"
pankso@10838 4 VERSION="0.9.1"
pankso@10838 5 CATEGORY="x-window"
pankso@10838 6 SHORT_DESC="Matchbox desktop."
pankso@10838 7 MAINTAINER="pankso@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pankso@10838 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@10838 10 WEB_SITE="http://matchbox-project.org/"
pankso@10838 11 WGET_URL="${WEB_SITE}sources/$PACKAGE/0.9/$TARBALL"
pankso@10838 12
pankso@10838 13 DEPENDS="gtk+ startup-notification libmatchbox"
pankso@10838 14 BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev"
pankso@10838 15
pankso@10838 16 # Rules to configure and make the package.
pankso@10838 17 compile_rules()
pankso@10838 18 {
pankso@10838 19 cd $src
pascal@15110 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
pankso@10838 21 ./configure \
pankso@10838 22 --sysconfdir=/etc \
pankso@10838 23 $CONFIGURE_ARGS &&
pankso@10838 24 sed -i s'/$(install_sh) -d/mkdir -p/' data/Makefile &&
pankso@10838 25 make && make install
pankso@10838 26 }
pankso@10838 27
pankso@10838 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10838 29 genpkg_rules()
pankso@10838 30 {
pankso@10838 31 mkdir -p $fs/usr/lib/matchbox/desktop
pankso@10838 32 cp -a $install/etc $fs
pankso@10838 33 cp -a $install/usr/bin $fs/usr
pankso@10838 34 cp -a $install/usr/lib/matchbox/desktop/*.so \
pankso@10838 35 $fs/usr/lib/matchbox/desktop
pankso@10838 36 cp -a $install/usr/share $fs/usr
pankso@10838 37 }
pankso@10838 38