SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libstroke"

# SliTaz package receipt.

PACKAGE="libstroke"
VERSION="0.5.1"
CATEGORY="system-tools"
SHORT_DESC="Stroke translation library"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20161204100704/http://etla.net/libstroke/"
WGET_URL="$WEB_SITE/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="xorg-libX11-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sources.archlinux.org/other/packages/libstroke/ 2>/dev/null | \
    sed '/tar/!d;s|.*libstroke-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)