wok view ed/receipt @ rev 24401
updated check and check-dev (0.13.0 -> 0.15.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 17:05:29 2022 +0100 (2022-02-08) |
parents | dbb0f0791cf9 |
children | 47514fe128b6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ed"
4 VERSION="1.15"
5 CATEGORY="development"
6 SHORT_DESC="A line-oriented text editor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/ed/"
11 TARBALL="$PACKAGE-$VERSION.tar.lz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 DEPENDS=""
17 BUILD_DEPENDS="lzip"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr &&
30 make CC=${HOST_SYSTEM}-gcc &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }