SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dashel"

# SliTaz package receipt.

PACKAGE="dashel"
VERSION="1.3.3"
CATEGORY="system-tools"
SHORT_DESC="C++ cross-platform data stream helper encapsulation library."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
WEB_SITE="http://aseba-community.github.io/dashel/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/aseba-community/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="hal"
BUILD_DEPENDS="cmake hal-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;/tags\/[0-9]/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cmake    .                \
        -DCMAKE_INSTALL_PREFIX=/usr    \
        -DBUILD_SHARED_LIBS=OFF &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr

    cp -a $install/usr/include    $fs/usr
    cp -a $install/usr/lib        $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)