SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libunwind"

# SliTaz package receipt.

PACKAGE="libunwind"
VERSION="1.6.2"
CATEGORY="development"
SHORT_DESC="C programming interface (API) to determine the call-chain of a program."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.nongnu.org/libunwind/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://download.savannah.gnu.org/releases/libunwind/$TARBALL"

DEPENDS="gcc83-lib-base liblzma"
BUILD_DEPENDS="gcc83 liblzma-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        CC=gcc-83    \
        CXX=g++-83    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# 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)