wok annotate e3/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (16 months ago) |
parents | a190bcfebf1e |
children |
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@25362 | 13 WGET_URL="http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/9a/$TARBALL" |
devl547@9391 | 14 |
pascal@15202 | 15 DEPENDS="" |
Hans-G?nter@22665 | 16 BUILD_DEPENDS="make nasm" |
pascal@15202 | 17 |
pascal@25580 | 18 # What is the latest version available today? |
pascal@25580 | 19 current_version() |
pascal@25580 | 20 { |
pascal@25580 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@25580 | 22 sed '/"e3-/!d;s|.*e3-||;s|.t.*||;q' |
pascal@25580 | 23 } |
pascal@25580 | 24 |
devl547@9391 | 25 # Rules to configure and make the package. |
devl547@9391 | 26 compile_rules() |
devl547@9391 | 27 { |
Hans-G?nter@22665 | 28 sed -i -e 's/-D$(EXMODE)//' Makefile && |
Hans-G?nter@22665 | 29 sed -i -e 's#/man/man#/share/man/man#' Makefile |
Hans-G?nter@22665 | 30 |
Hans-G?nter@22665 | 31 make && |
Hans-G?nter@22665 | 32 make PREFIX=$DESTDIR install |
devl547@9391 | 33 } |
devl547@9391 | 34 |
devl547@9391 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@9391 | 36 genpkg_rules() |
devl547@9391 | 37 { |
pankso@16059 | 38 mkdir -p $fs/usr |
Hans-G?nter@22665 | 39 |
Hans-G?nter@22665 | 40 cp -R $install/bin $fs/usr |
Hans-G?nter@22665 | 41 for i in $(cd $fs/usr/bin; ls e3?*) |
Hans-G?nter@22665 | 42 do |
Hans-G?nter@22665 | 43 rm -f $fs/usr/bin/$i |
Hans-G?nter@22665 | 44 ln -s e3 $fs/usr/bin/$i |
Hans-G?nter@22665 | 45 done |
devl547@9391 | 46 } |