wok annotate matchbox-desktop-2/receipt @ rev 13652

Fix: motion build and improve package integration
author Christophe Lincoln <pankso@slitaz.org>
date Mon Nov 19 14:21:21 2012 +0100 (2012-11-19)
parents 73641efed1cc
children 380ffe05937a
rev   line source
pascal@11556 1 # SliTaz package receipt.
pascal@11556 2
pascal@11556 3 PACKAGE="matchbox-desktop-2"
pascal@11556 4 VERSION="2.0"
pascal@11556 5 CATEGORY="x-window"
pascal@11556 6 SHORT_DESC="Matchbox desktop v2."
pascal@11556 7 MAINTAINER="pankso@slitaz.org"
pascal@11556 8 SOURCE="matchbox-desktop"
pascal@11556 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@11556 10 WEB_SITE="http://matchbox-project.org/"
pascal@11556 11 WGET_URL="${WEB_SITE}sources/$SOURCE/2.0/$TARBALL"
pascal@11556 12
pankso@12481 13 DEPENDS="gtk+ dbus dbus-glib util-linux-uuid"
pankso@12481 14 BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev"
pascal@11556 15
pascal@11556 16 # Rules to configure and make the package.
pascal@11556 17 compile_rules()
pascal@11556 18 {
pascal@12653 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12653 20 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pascal@12653 21
pascal@11556 22 cd $src
pascal@11556 23 ./configure \
pascal@11556 24 --disable-startup-notification \
pascal@11556 25 $CONFIGURE_ARGS &&
pascal@11556 26 make && make install
pascal@11556 27 }
pascal@11556 28
pascal@11556 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11556 30 genpkg_rules()
pascal@11556 31 {
pascal@11556 32 mkdir -p $fs/usr
pascal@11556 33 cp -a $install/usr/bin $fs/usr
pascal@11556 34 }