wok annotate fbxkb/receipt @ rev 15267

fbxkb, icedtea6-jdk: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:22:57 2013 +0000 (2013-09-25)
parents 1ae5963f23df
children 3b4e4318134e
rev   line source
devl547@6089 1 # SliTaz package receipt.
devl547@6089 2
devl547@6089 3 PACKAGE="fbxkb"
devl547@6089 4 VERSION="0.6"
pascal@6130 5 CATEGORY="utilities"
devl547@6089 6 SHORT_DESC="fbxkb is NETWM compliant keyboard indicator and switcher."
devl547@6089 7 MAINTAINER="devl547@gmail.com"
devl547@6089 8 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@9295 9 DEPENDS="gtk+ xorg-libXmu"
slaxemulator@9295 10 BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"
devl547@6089 11 WEB_SITE="http://fbxkb.sourceforge.net/"
devl547@6089 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
devl547@6089 13
devl547@6089 14 # Rules to configure and make the package.
devl547@6089 15 compile_rules()
devl547@6089 16 {
devl547@6089 17 cd $src
pascal@15110 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
slaxemulator@9295 19 patch -Np1 -i $stuff/$PACKAGE.patch
slaxemulator@9295 20 ./configure &&
devl547@6089 21 make
devl547@6089 22 }
devl547@6089 23
devl547@6089 24 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6089 25 genpkg_rules()
devl547@6089 26 {
devl547@6089 27 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
devl547@6089 28 cp -a $src/fbxkb $fs/usr/bin
devl547@6089 29 cp $src/images/*.png $fs/usr/share/fbxkb/images
slaxemulator@9295 30
devl547@6089 31 }
devl547@6089 32