wok view matchbox-desktop-2/receipt @ rev 12653

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