SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "asciidoc"

# SliTaz package receipt.

PACKAGE="asciidoc"
VERSION="8.6.9"
CATEGORY="system-tools"
SHORT_DESC="Text based document generation"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://pypi.org/project/asciidoc/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/project/asciidoc/asciidoc/$VERSION/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS=""

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/etc $fs
    cp -a $install/usr/bin $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)