SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libwapcaplet"

# SliTaz package receipt.

PACKAGE="libwapcaplet"
VERSION="0.1.1"
CATEGORY="system-tools"
SHORT_DESC="String internment library"
MAINTAINER="erjo@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION-src.tar.gz"
WEB_SITE="https://www.netsurf-browser.org/projects/libwapcaplet/"
WGET_URL="https://download.netsurf-browser.org/libs/releases/$TARBALL"
HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    make COMPONENT_TYPE=lib-shared && 
    make PREFIX=/usr DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $src/*-lib-shared/*.so*  $fs/usr/lib
}

5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)