SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sockets"

# SliTaz package receipt.

PACKAGE="sockets"
VERSION="2.3.9.9"
CATEGORY="development"
SHORT_DESC="C++ Sockets library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://web.archive.org/web/20220328044321/https://www.alhem.net/Sockets/"

SOURCE="Sockets"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://web.archive.org/web/20150806023209/http://www.alhem.net/Sockets/$TARBALL"

DEPENDS="gcc-lib-base"
BUILD_DEPENDS="e2fsprogs-dev openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/version/!d;s|version <b>||;s|<.*||;q'
}

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

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