wok view e3/receipt @ rev 21887
reptyr: dirty fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 18:36:41 2019 +0200 (2019-10-02) |
parents | 4bc239bf6b69 |
children | ec0a46aa63d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e3"
4 VERSION="2.8"
5 CATEGORY="utilities"
6 SHORT_DESC="e3 is a full featured text editor written in NASM assembler."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://sites.google.com/site/e3editor"
11 WGET_URL="https://sites.google.com/site/e3editor/Home/$TARBALL?attredirects=0"
12 TAGS="text-editor"
14 DEPENDS=""
15 BUILD_DEPENDS="make nasm wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's/-D$(EXMODE)//' Makefile &&
21 sed -i -e 's#/man/man#/share/man/man#' Makefile
22 make && make PREFIX=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -R $install/bin $fs/usr
30 for i in $(cd $fs/usr/bin; ls e3?*); do
31 rm -f $fs/usr/bin/$i
32 ln -s e3 $fs/usr/bin/$i
33 done
34 }