SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmpack"

# SliTaz package receipt.

PACKAGE="libmpack"
VERSION="1.0.5"
CATEGORY="libs"
SHORT_DESC="Simple implementation of msgpack in C."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/libmpack/libmpack"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"

BUILD_DEPENDS="libtool"

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

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)