mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
With the release of ed 1.10 upstream switched the format of their source tarballs from tar.gz to tar. But lzip is not available on non-hybrid x86_gcc2, so we use the "converted" tar.gz created by a mirror from the original tar.lz. (The decompressed tarballs are identical.)
51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
SUMMARY="GNU's line-oriented text editor"
|
|
DESCRIPTION="GNU ed is a line-oriented text editor. It is used to create, \
|
|
display, modify and otherwise manipulate text files, both interactively and \
|
|
via shell scripts. A restricted version of ed, red, can only edit files in \
|
|
the current directory and cannot execute shell commands.
|
|
Ed is the \"standard\" text editor in the sense that it is the original editor \
|
|
for Unix, and thus widely available."
|
|
HOMEPAGE="https://www.gnu.org/software/ed/"
|
|
COPYRIGHT="1992-2016 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
# Upstream only ships lziped tarballs, not usable on pure x86_gcc2.
|
|
#SOURCE_URI="http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/ed/ed-$portVersion.tar.lz"
|
|
#CHECKSUM_SHA256="cd66c54a53cd6ef35a217556e7b2b2fdd973ca2708f4fc41636b0bc06388c7d3"
|
|
# So use gziped tarball from fossies until we have lzip for x86_gcc2.
|
|
SOURCE_URI="http://fossies.org/linux/privat/ed-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="f9e2a8c95dff14fab315680966ad3037afecdf089c2d0c281e267bf1ae836b0f"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
ed = $portVersion compat >= 1
|
|
cmd:ed = $portVersion compat >= 1
|
|
cmd:red = $portVersion compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|