wok-6.x annotate fbxkb/receipt @ rev 19701

Up: slitaz-tools and slitaz-configs
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 14 12:11:41 2017 +0100 (2017-02-14)
parents 3b4e4318134e
children 640a2eba2511
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"
pascal@15593 8 LICENSE="GPL2"
devl547@6089 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@15593 10 WEB_SITE="http://fbxkb.sourceforge.net/"
pascal@15593 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15593 12
slaxemulator@9295 13 DEPENDS="gtk+ xorg-libXmu"
slaxemulator@9295 14 BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"
devl547@6089 15
devl547@6089 16 # Rules to configure and make the package.
devl547@6089 17 compile_rules()
devl547@6089 18 {
devl547@6089 19 cd $src
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
slaxemulator@9295 21 patch -Np1 -i $stuff/$PACKAGE.patch
slaxemulator@9295 22 ./configure &&
devl547@6089 23 make
devl547@6089 24 }
devl547@6089 25
devl547@6089 26 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6089 27 genpkg_rules()
devl547@6089 28 {
devl547@6089 29 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
devl547@6089 30 cp -a $src/fbxkb $fs/usr/bin
devl547@6089 31 cp $src/images/*.png $fs/usr/share/fbxkb/images
slaxemulator@9295 32
devl547@6089 33 }
devl547@6089 34