wok view jed/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (9 months ago)
parents d3eb5f4b53ea
children
line source
1 # SliTaz package receipt.
3 PACKAGE="jed"
4 VERSION="0.99-19"
5 CATEGORY="development"
6 SHORT_DESC="JED text editor"
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.jedsoft.org/jed/"
11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v${VERSION%-*}/$TARBALL"
12 # ftp://space.mit.edu/pub/davis/jed/v${VERSION%-*}/$TARBALL"
13 TAGS="text-editor"
15 DEPENDS="slang"
16 BUILD_DEPENDS="slang-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://www.jedsoft.org/releases/jed/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 JED_ROOT=/usr/share/jed ./configure --prefix=/usr $CONFIGURE_ARGS
29 make &&
30 make -j1 DESTDIR=$DESTDIR install 2>&1 | grep -v xjed
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/jed
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/jed/lib $fs/usr/share/jed
39 }