SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wordgrinder"

# SliTaz package receipt.

PACKAGE="wordgrinder"
VERSION="0.8"
CATEGORY="office"
SHORT_DESC="A simple Unicode-aware word processor that runs on the console."
MAINTAINER="maintainer@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://cowlark.com/wordgrinder/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/davidgiven/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="freetype lua ncursesw xorg-libXft"
BUILD_DEPENDS="freetype-dev lua-dev ncursesw-dev ninja xorg-libXft-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/WordGrinder/!d;s|.*Grinder ||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make    install            \
        PREFIX=/usr        \
        DESTDIR=$DESTDIR    \
        LUA_PACKAGE=lua
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    mime-info
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)