SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "commoncpp2"

# SliTaz package receipt.

PACKAGE="commoncpp2"
VERSION="1.8.1"
CATEGORY="development"
SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
MAINTAINER="rcx@zoominternet.net"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/commoncpp/"
WGET_URL="$GNU_MIRROR/commoncpp/$TARBALL"

DEPENDS="glibc-base gcc-lib-base zlib"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
    ./configure \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make && make 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)