wok annotate e3/receipt @ rev 21823

Add lxsession-lxpolkit (thanks Saipul)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 25 19:23:22 2019 +0200 (2019-08-25)
parents 4bc239bf6b69
children ec0a46aa63d8
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"
al@13134 6 SHORT_DESC="e3 is a full featured text editor written in NASM assembler."
devl547@9391 7 MAINTAINER="devl547@gmail.com"
pascal@15202 8 LICENSE="GPL2"
devl547@9391 9 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@9436 10 WEB_SITE="http://sites.google.com/site/e3editor"
pascal@13135 11 WGET_URL="https://sites.google.com/site/e3editor/Home/$TARBALL?attredirects=0"
devl547@9391 12 TAGS="text-editor"
devl547@9391 13
pascal@15202 14 DEPENDS=""
pascal@15202 15 BUILD_DEPENDS="make nasm wget"
pascal@15202 16
devl547@9391 17 # Rules to configure and make the package.
devl547@9391 18 compile_rules()
devl547@9391 19 {
devl547@9391 20 sed -i -e 's/-D$(EXMODE)//' Makefile &&
devl547@9391 21 sed -i -e 's#/man/man#/share/man/man#' Makefile
pankso@16059 22 make && make PREFIX=$DESTDIR 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 {
pankso@16059 28 mkdir -p $fs/usr
pankso@16059 29 cp -R $install/bin $fs/usr
pascal@19933 30 for i in $(cd $fs/usr/bin; ls e3?*); do
pascal@19933 31 rm -f $fs/usr/bin/$i
pascal@19933 32 ln -s e3 $fs/usr/bin/$i
pascal@19933 33 done
devl547@9391 34 }