SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libccls"

# SliTaz package receipt.

PACKAGE="libccls"
VERSION="0.7.0"
CATEGORY="development"
SHORT_DESC="server library for internet cafe programs"
MAINTAINER="allan316@gmail.com"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://ccl.sourceforge.net"
WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/$PACKAGE/$VERSION/$TARBALL"
#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="openssl sqlite glib"
BUILD_DEPENDS="openssl-dev sqlite-dev glib-dev file"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $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
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)