mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 16:20:08 +02:00
55 lines
1.3 KiB
Bash
55 lines
1.3 KiB
Bash
SUMMARY="The famous stream editor"
|
|
DESCRIPTION="Sed is a stream editor, i.e. it can be used to perform basic \
|
|
text transformations on an input stream (a file or input from a pipeline).
|
|
While in some ways similar to an editor which permits scripted edits (such as \
|
|
ed), sed works by making only one pass over the input(s), and is consequently \
|
|
more efficient. But it is sed's ability to filter text in a pipeline which \
|
|
particularly distinguishes it from other types of editors."
|
|
HOMEPAGE="http://www.gnu.org/software/sed"
|
|
COPYRIGHT="1989-2009 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="http://ftp.gnu.org/gnu/sed/sed-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="cbd6ebc5aaf080ed60d0162d7f6aeae58211a1ee9ba9bb25623daa6cd942683b"
|
|
PATCHES="sed-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64 ?arm"
|
|
|
|
PROVIDES="
|
|
sed = $portVersion compat >= 4
|
|
cmd:sed = $portVersion compat >= 4
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
cmd:awk
|
|
cmd:grep
|
|
"
|
|
|
|
defineDebugInfoPackage sed \
|
|
$binDir/sed
|
|
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure \
|
|
--enable-regex-tests --without-included-regex \
|
|
--disable-rpath --with-gnu-ld
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/charset.alias
|
|
rmdir $libDir
|
|
}
|