SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "autoconf"

# SliTaz package receipt.

PACKAGE="autoconf"
VERSION="2.71"
CATEGORY="development"
SHORT_DESC="A GNU tool for automatically configuring source code."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.gnu.org/software/autoconf/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gettext-tools m4 perl xz"
BUILD_DEPENDS="m4 perl"

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

# Rules to compile & install the temporary toolchain.
cook_tmp_toolchain()
{
    ./configure &&
    make &&
    make install
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    autoconf
    rm -f                    $fs/usr/share/autoconf/INSTALL
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)