ed-1.15.recipe revision fe420c76
1SUMMARY="GNU's line-oriented text editor"
2DESCRIPTION="GNU ed is a line-oriented text editor. It is used to create, \
3display, modify and otherwise manipulate text files, both interactively and \
4via shell scripts. A restricted version of ed, red, can only edit files in \
5the current directory and cannot execute shell commands.
6Ed is the \"standard\" text editor in the sense that it is the original editor \
7for Unix, and thus widely available."
8HOMEPAGE="https://www.gnu.org/software/ed/"
9COPYRIGHT="1992-2017 Free Software Foundation, Inc."
10LICENSE="GNU GPL v3"
11REVISION="1"
12# Upstream only ships lziped tarballs, not usable on pure x86_gcc2.
13#SOURCE_URI="https://ftp.gnu.org/gnu/ed/ed-$portVersion.tar.lz"
14#CHECKSUM_SHA256="ffb97eb8f2a2b5a71a9b97e3872adce953aa1b8958e04c5b7bf11d556f32552a"
15# So use gziped tarball from fossies until we have lzip for x86_gcc2.
16SOURCE_URI="https://fossies.org/linux/privat/ed-$portVersion.tar.gz"
17CHECKSUM_SHA256="747f2279473cd706776daebd252bf89e9eaee5290f5bb63f8e0691604ac7d029"
18
19ARCHITECTURES="x86_gcc2 x86 x86_64"
20
21PROVIDES="
22	ed = $portVersion compat >= 1
23	cmd:ed = $portVersion compat >= 1
24	cmd:red = $portVersion compat >= 1
25	"
26REQUIRES="
27	haiku
28	"
29
30BUILD_REQUIRES="
31	haiku_devel
32	"
33BUILD_PREREQUIRES="
34	cmd:cmp
35	cmd:gcc
36	cmd:ld
37	cmd:make
38	cmd:perl
39	cmd:sed
40	"
41
42BUILD()
43{
44	runConfigure ./configure
45	make
46}
47
48INSTALL()
49{
50	make install
51}
52
53TEST()
54{
55	make check
56}
57