wok-stable annotate 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
rev   line source
devl547@9391 1 # SliTaz package receipt.
devl547@9391 2
devl547@9391 3 PACKAGE="e3"
devl547@9391 4 VERSION="2.8"
devl547@9391 5 CATEGORY="utilities"
pascal@12455 6 SHORT_DESC="e3 is a full featured text editor written in NASM assembler."
devl547@9391 7 MAINTAINER="devl547@gmail.com"
devl547@9391 8 DEPENDS=""
devl547@9391 9 BUILD_DEPENDS="make nasm"
devl547@9391 10 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@9436 11 WEB_SITE="http://sites.google.com/site/e3editor"
slaxemulator@9436 12 WGET_URL="$WEB_SITE/Home/$TARBALL"
devl547@9391 13 TAGS="text-editor"
devl547@9391 14
devl547@9391 15 # Rules to configure and make the package.
devl547@9391 16 compile_rules()
devl547@9391 17 {
devl547@9391 18 cd $src
devl547@9391 19 sed -i -e 's/-D$(EXMODE)//' Makefile &&
devl547@9391 20 sed -i -e 's#/man/man#/share/man/man#' Makefile
devl547@9391 21 make &&
devl547@9391 22 make PREFIX=$PWD/_pkg install
devl547@9391 23 }
devl547@9391 24
devl547@9391 25 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@9391 26 genpkg_rules()
devl547@9391 27 {
devl547@9391 28 mkdir -p $fs/usr/
devl547@9391 29 cp -R $WOK/$PACKAGE/install/* $fs/usr/
pascal@12460 30 for i in $(cd $fs/usr/bin; ls e3?*); do
pascal@12460 31 rm -f $fs/usr/bin/$i
pascal@12460 32 ln -s e3 $fs/usr/bin/$i
pascal@12460 33 done
devl547@9391 34 }