SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsigc++"

# SliTaz package receipt.

PACKAGE="libsigc++"
VERSION="2.10.7"
CATEGORY="system-tools"
SHORT_DESC="Callback Framework for C++"
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://developer.gnome.org/libsigc++/"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
HOST_ARCH="i486 arm"

BUILD_DEPENDS="m4 meson"

current_version()
{
    wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
    sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
        meson build \
            --prefix=/usr \
            --libdir=lib \
            --bindir=/usr/bin \
            --sbindir=/usr/sbin \
            --buildtype=release \
            -Dmaintainer-mode=false &&                                                         
        ninja -C build &&
        ninja -C build 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)