SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mpc-library"

# SliTaz package receipt.

PACKAGE="mpc-library"
VERSION="1.2.1"
CATEGORY="development"
SHORT_DESC="A C library for the arithmetic of complex numbers."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.multiprecision.org/"

SOURCE="mpc"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"

DEPENDS="gmp mpfr"
BUILD_DEPENDS="gmp-dev mpfr-dev"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - https://ftp.gnu.org/gnu/$SOURCE/ 2>/dev/null | \
    sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    include
    cook_copy_folders    lib
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)