wok view e3/receipt @ rev 23862
xvkbd: wget_url that works for cook
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 11:08:54 2020 -0400 (2020-06-19) |
parents | a0fe56fb9c41 |
children | 32a0c44693d5 |
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="https://sites.google.com/site/e3editor/Home/$TARBALL?attredirects=0"
15 DEPENDS=""
16 BUILD_DEPENDS="make nasm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i -e 's/-D$(EXMODE)//' Makefile &&
22 sed -i -e 's#/man/man#/share/man/man#' Makefile
24 make &&
25 make PREFIX=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
33 cp -R $install/bin $fs/usr
34 for i in $(cd $fs/usr/bin; ls e3?*)
35 do
36 rm -f $fs/usr/bin/$i
37 ln -s e3 $fs/usr/bin/$i
38 done
39 }