SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "zile"

# SliTaz package receipt.

PACKAGE="zile"
VERSION="2.4.14"
CATEGORY="development"
TAGS="text-editor"
SHORT_DESC="A lightweight Emacs clone."
MAINTAINER="domcox@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/zile/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gc glibc-base ncursesw"
BUILD_DEPENDS="gc-dev help2man ncursesw-dev"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    export    LDFLAGS="$LDFLAGS -lrt"

    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

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