wok-current view fbxkb/receipt @ rev 24806

updated libmicrohttpd and libmicrohttpd-dev (0.9.70 -> 0.9.75)
author Hans-G?nter Theisgen
date Tue Mar 22 14:15:13 2022 +0100 (2022-03-22)
parents 17e313b5b9c1
children 7dd01dedad38
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="http://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 }