SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "man-pages"

# SliTaz package receipt.

PACKAGE="man-pages"
VERSION="5.13"
CATEGORY="doc"
SHORT_DESC="Linux manual pages."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="unknown"
WEB_SITE="https://www.kernel.org/doc/man-pages/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL"

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

# Rules to configure and make the package.
compile_rules()
{
    # busybox install has no option T
    sed -i 's| -T | |'    Makefile

    make    install            \
        DESTDIR=$install    \
        prefix=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)