wok-4.x diff fbxkb/receipt @ rev 6117

fbida: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 05 10:08:04 2010 +0200 (2010-09-05)
parents
children 53c7b8810987
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fbxkb/receipt	Sun Sep 05 10:08:04 2010 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fbxkb"
     1.7 +VERSION="0.6"
     1.8 +CATEGORY="utilites"
     1.9 +SHORT_DESC="fbxkb is NETWM compliant keyboard indicator and switcher."
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.12 +DEPENDS="gtk+"
    1.13 +BUILD_DEPENDS="gtk+-dev"
    1.14 +WEB_SITE="http://fbxkb.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr &&
    1.23 +	make
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
    1.30 +	cp -a $src/fbxkb $fs/usr/bin
    1.31 +	cp $src/images/*.png $fs/usr/share/fbxkb/images
    1.32 +}
    1.33 +