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

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents 644c871a432b
children 17e313b5b9c1
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="-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 }