wok-stable view e3/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents 28fb754f302c
children
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 DEPENDS=""
9 BUILD_DEPENDS="make nasm"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://sites.google.com/site/e3editor"
12 WGET_URL="$WEB_SITE/Home/$TARBALL"
13 TAGS="text-editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e 's/-D$(EXMODE)//' Makefile &&
20 sed -i -e 's#/man/man#/share/man/man#' Makefile
21 make &&
22 make PREFIX=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -R $WOK/$PACKAGE/install/* $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 }