SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fbxkb"

# SliTaz package receipt.

PACKAGE="fbxkb"
VERSION="0.6"
CATEGORY="utilities"
SHORT_DESC="fbxkb is NETWM compliant keyboard indicator and switcher."
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="https://fbxkb.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gtk+ xorg-libXmu"
BUILD_DEPENDS="gtk+-dev xorg-libXmu-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/fbxkb/files/fbxkb/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/fbxkb/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    patch -Np1 -i $stuff/$PACKAGE.patch
    ./configure &&
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/fbxkb/images
    cp -a $src/fbxkb $fs/usr/bin
    cp $src/images/*.png $fs/usr/share/fbxkb/images

}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)