wok-6.x view fbxkb/receipt @ rev 18133

Add bcrelay (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 17:09:25 2015 +0200 (2015-06-13)
parents 3b4e4318134e
children 640a2eba2511
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://fbxkb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXmu"
14 BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 patch -Np1 -i $stuff/$PACKAGE.patch
22 ./configure &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
30 cp -a $src/fbxkb $fs/usr/bin
31 cp $src/images/*.png $fs/usr/share/fbxkb/images
33 }