wok-current view joe/receipt @ rev 24557

updated fltk packages (1.3.5 -> 1.3.8)
author Hans-G?nter Theisgen
date Fri Feb 25 15:09:26 2022 +0100 (2022-02-25)
parents 6bab837a85ec
children
line source
1 #Slitaz package receipt
3 PACKAGE="joe"
4 VERSION="4.6"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="Joe's Own Editor is an easy to use text editor, supporting syntax highlighting and UTF-8."
8 MAINTAINER="threarth@yahoo.it"
9 LICENSE="GPL"
10 WEB_SITE="https://joe-editor.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/joe-editor/$TARBALL"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev desktop-file-utils"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - 'https://sourceforge.net/projects/joe-editor/files/JOE sources/' 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/joe-||;s|.tar.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/joe $fs/usr/share
45 }