SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "joe"

#Slitaz package receipt

PACKAGE="joe"
VERSION="4.6"
CATEGORY="utilities"
TAGS="text-editor"
SHORT_DESC="Joe's Own Editor is an easy to use text editor, supporting syntax highlighting and UTF-8."
MAINTAINER="threarth@yahoo.it"
LICENSE="GPL"
WEB_SITE="https://joe-editor.sourceforge.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/joe-editor/$TARBALL"

DEPENDS="ncursesw"
BUILD_DEPENDS="ncursesw-dev desktop-file-utils"
HOST_ARCH="i486 arm"

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

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/etc        $fs
    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/share/joe    $fs/usr/share 
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)