wok view e3/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (6 weeks ago)
parents a190bcfebf1e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="e3"
4 VERSION="2.82"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="A full featured text editor written in NASM assembler."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://sites.google.com/site/e3editor"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/9a/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="make nasm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed '/"e3-/!d;s|.*e3-||;s|.t.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's/-D$(EXMODE)//' Makefile &&
29 sed -i -e 's#/man/man#/share/man/man#' Makefile
31 make &&
32 make PREFIX=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -R $install/bin $fs/usr
41 for i in $(cd $fs/usr/bin; ls e3?*)
42 do
43 rm -f $fs/usr/bin/$i
44 ln -s e3 $fs/usr/bin/$i
45 done
46 }