wok view joe/receipt @ rev 25692

dropbear (2024.84) fixes terrapin-attack, zstd (1.5.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 11:33:54 2024 +0000 (6 months ago)
parents ba7cbdb5749c
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }