wok view joe/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 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 }