wok annotate e3/receipt @ rev 24535
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 11:49:52 2022 +0000 (2022-02-23) |
parents | a0fe56fb9c41 |
children | 32a0c44693d5 |
rev | line source |
---|---|
devl547@9391 | 1 # SliTaz package receipt. |
devl547@9391 | 2 |
devl547@9391 | 3 PACKAGE="e3" |
Hans-G?nter@22665 | 4 VERSION="2.82" |
devl547@9391 | 5 CATEGORY="utilities" |
Hans-G?nter@22665 | 6 TAGS="text-editor" |
Hans-G?nter@22665 | 7 SHORT_DESC="A full featured text editor written in NASM assembler." |
devl547@9391 | 8 MAINTAINER="devl547@gmail.com" |
pascal@15202 | 9 LICENSE="GPL2" |
Hans-G?nter@22665 | 10 WEB_SITE="https://sites.google.com/site/e3editor" |
Hans-G?nter@22665 | 11 |
devl547@9391 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13135 | 13 WGET_URL="https://sites.google.com/site/e3editor/Home/$TARBALL?attredirects=0" |
devl547@9391 | 14 |
pascal@15202 | 15 DEPENDS="" |
Hans-G?nter@22665 | 16 BUILD_DEPENDS="make nasm" |
pascal@15202 | 17 |
devl547@9391 | 18 # Rules to configure and make the package. |
devl547@9391 | 19 compile_rules() |
devl547@9391 | 20 { |
Hans-G?nter@22665 | 21 sed -i -e 's/-D$(EXMODE)//' Makefile && |
Hans-G?nter@22665 | 22 sed -i -e 's#/man/man#/share/man/man#' Makefile |
Hans-G?nter@22665 | 23 |
Hans-G?nter@22665 | 24 make && |
Hans-G?nter@22665 | 25 make PREFIX=$DESTDIR install |
devl547@9391 | 26 } |
devl547@9391 | 27 |
devl547@9391 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@9391 | 29 genpkg_rules() |
devl547@9391 | 30 { |
pankso@16059 | 31 mkdir -p $fs/usr |
Hans-G?nter@22665 | 32 |
Hans-G?nter@22665 | 33 cp -R $install/bin $fs/usr |
Hans-G?nter@22665 | 34 for i in $(cd $fs/usr/bin; ls e3?*) |
Hans-G?nter@22665 | 35 do |
Hans-G?nter@22665 | 36 rm -f $fs/usr/bin/$i |
Hans-G?nter@22665 | 37 ln -s e3 $fs/usr/bin/$i |
Hans-G?nter@22665 | 38 done |
devl547@9391 | 39 } |