SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "automake115"

# SliTaz package receipt.

PACKAGE="automake115"
VERSION="1.15"
CATEGORY="development"
SHORT_DESC="A GNU tool for automatically creating Makefiles."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.gnu.org/software/automake/"
SOURCE="automake"
TARBALL="$SOURCE-$VERSION.tar.xz"
WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"

DEPENDS="autoconf"
BUILD_DEPENDS="autoconf bison flex"

# What is the latest version available today?
current_version()
{
    wget -O - ${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 --prefix=/usr --program-suffix=-1.15 &&
    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()
{
    cp -a $install/*        $fs

    ln -sf aclocal-${VERSION%.*}    $fs/usr/bin/aclocal
    ln -sf automake-${VERSION%.*}    $fs/usr/bin/automake

    rm -rf                $fs/usr/share/doc
    rm -rf                $fs/usr/share/info
    rm -rf                $fs/usr/share/man
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)