wok-next view fbxkb/receipt @ rev 15110

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