wok annotate ed/receipt @ rev 24644

updated hiawatha (10.10 -> 11.1)
author Hans-G?nter Theisgen
date Thu Mar 10 09:34:32 2022 +0100 (2022-03-10)
parents 71360a13cd94
children d79ed38ace18
rev   line source
pascal@16335 1 # SliTaz package receipt.
pascal@16335 2
pascal@16335 3 PACKAGE="ed"
Hans-G?nter@24508 4 VERSION="1.18"
pascal@16335 5 CATEGORY="development"
pascal@16335 6 SHORT_DESC="A line-oriented text editor."
pascal@16335 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16335 8 LICENSE="GPL3"
pascal@22693 9 WEB_SITE="https://www.gnu.org/software/ed/"
Hans-G?nter@22674 10
pascal@22675 11 TARBALL="$PACKAGE-$VERSION.tar.lz"
pascal@16335 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@22674 13
pascal@16335 14 DEPENDS=""
pascal@22675 15 BUILD_DEPENDS="lzip"
pascal@16335 16
Hans-G?nter@24508 17 HOST_ARCH="i486 arm"
Hans-G?nter@24508 18
pascal@24336 19 # What is the latest version available today?
pascal@24336 20 current_version()
pascal@24336 21 {
pascal@24336 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 24 }
pascal@24336 25
pascal@16335 26 # Rules to configure and make the package.
pascal@16335 27 compile_rules()
pascal@16335 28 {
pankso@16478 29 ./configure --prefix=/usr &&
Hans-G?nter@22674 30 make CC=${HOST_SYSTEM}-gcc &&
Hans-G?nter@22674 31 make install
pascal@16335 32 }
pascal@16335 33
pascal@16335 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16335 35 genpkg_rules()
pascal@16335 36 {
pascal@16335 37 mkdir $fs/usr
Hans-G?nter@24508 38 cp -a $install/usr/bin $fs/usr
pascal@16335 39 }