wok-current annotate fbxkb/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents fa99a5324873
children 644c871a432b
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 unset LDFLAGS
slaxemulator@9295 20 patch -Np1 -i $stuff/$PACKAGE.patch
slaxemulator@9295 21 ./configure &&
devl547@6089 22 make
devl547@6089 23 }
devl547@6089 24
devl547@6089 25 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6089 26 genpkg_rules()
devl547@6089 27 {
devl547@6089 28 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
devl547@6089 29 cp -a $src/fbxkb $fs/usr/bin
devl547@6089 30 cp $src/images/*.png $fs/usr/share/fbxkb/images
slaxemulator@9295 31
devl547@6089 32 }
devl547@6089 33