SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "texinfo"

# SliTaz package receipt.

PACKAGE="texinfo"
VERSION="6.8"
CATEGORY="development"
SHORT_DESC="GNU documentation tools."
MAINTAINER="rcx@zoominternet.net"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.gnu.org/software/texinfo/"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
TAGS="documentation"

DEPENDS="ncurses perl"
BUILD_DEPENDS="ncurses-dev perl-dev"

# 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 by Tazwok.
cook_tmp_toolchain()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
    ./configure &&
    make $MAKEFLAGS &&
    make install
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
    ./configure $CONFIGURE_ARGS && 
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p  $fs/usr/share
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/$PACKAGE $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)