wok view fbxkb/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 640a2eba2511
children 6b33f9da53d4
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="https://fbxkb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXmu"
14 BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/fbxkb/files/fbxkb/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/fbxkb/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 patch -Np1 -i $stuff/$PACKAGE.patch
29 ./configure &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
37 cp -a $src/fbxkb $fs/usr/bin
38 cp $src/images/*.png $fs/usr/share/fbxkb/images
40 }