SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "buffer"

# SliTaz package receipt.

PACKAGE="buffer"
VERSION="1.19"
CATEGORY="system-tools"
SHORT_DESC="GPL disaster recovery solution."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.mondorescue.org/"
TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="http://ftp.mondorescue.org/src/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

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

# Rules to configure and make the package.
compile_rules()
{
    patch -p1 < $stuff/buffer-1.19.patch || exit 1
    make

    cp buffer.man buffer.1
    cook_pick_manpages buffer.1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    
    cp -a $src/buffer  $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)