wok view 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 |
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 patch -Np1 -i $stuff/$PACKAGE.patch
20 ./configure &&
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
28 cp -a $src/fbxkb $fs/usr/bin
29 cp $src/images/*.png $fs/usr/share/fbxkb/images
31 }