SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libhx"

# SliTaz package receipt.

PACKAGE="libhx"
VERSION="4.3"
CATEGORY="development"
SHORT_DESC="Data structures and functions for scripting languages."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="LGPL3 LGPL2.1"
WEB_SITE="https://inai.de/projects/libhx/"

SOURCE="libHX"
TARBALL="$SOURCE-$VERSION.tar.xz"
WGET_URL="https://inai.de/files/$PACKAGE/$TARBALL"

DEPENDS="coreutils-file-special gcc83-lib-base"
BUILD_DEPENDS="coreutils-file-special gcc83"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/libhx/files/libHX/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/libHX-||;s|.tar.*||;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/libHX.so*    $fs/usr/lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)