wok annotate fbxkb/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | 17e313b5b9c1 |
children | 7dd01dedad38 |
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 |
pascal@24385 | 16 # What is the latest version available today? |
pascal@24385 | 17 current_version() |
pascal@24385 | 18 { |
pascal@24385 | 19 wget -O - https://sourceforge.net/projects/fbxkb/files/fbxkb/ 2>/dev/null | \ |
pascal@24385 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 21 sed '/scope="row/!d;s|.*/fbxkb/||;s|/.*||;q' |
pascal@24385 | 22 } |
pascal@24385 | 23 |
devl547@6089 | 24 # Rules to configure and make the package. |
devl547@6089 | 25 compile_rules() |
devl547@6089 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@9295 | 28 patch -Np1 -i $stuff/$PACKAGE.patch |
slaxemulator@9295 | 29 ./configure && |
devl547@6089 | 30 make |
devl547@6089 | 31 } |
devl547@6089 | 32 |
devl547@6089 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6089 | 34 genpkg_rules() |
devl547@6089 | 35 { |
devl547@6089 | 36 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images |
devl547@6089 | 37 cp -a $src/fbxkb $fs/usr/bin |
devl547@6089 | 38 cp $src/images/*.png $fs/usr/share/fbxkb/images |
slaxemulator@9295 | 39 |
devl547@6089 | 40 } |
devl547@6089 | 41 |