mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 15:50:07 +02:00
73 lines
1.6 KiB
Bash
73 lines
1.6 KiB
Bash
SUMMARY="A BSD licensed replacement for the GNU readline library"
|
|
DESCRIPTION="This is an autotool- and libtoolized port of the NetBSD Editline library \
|
|
(libedit). This Berkeley-style licensed command line editor library provides \
|
|
generic line editing, history, and tokenization functions, similar to those \
|
|
found in GNU Readline."
|
|
HOMEPAGE="http://www.thrysoee.dk/editline/"
|
|
COPYRIGHT="1992-2014 The NetBSD Foundation, Inc."
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="2"
|
|
SOURCE_URI="http://www.thrysoee.dk/editline/libedit-20141030-3.1.tar.gz"
|
|
CHECKSUM_SHA256="9701e16570fb8f7fa407b506986652221b701a9dd61defc05bb7d1c61cdf5a40"
|
|
SOURCE_DIR="libedit-20141029-3.1"
|
|
PATCHES="libedit-2014_10_30_3.1.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libedit$secondaryArchSuffix = $portVersion
|
|
lib:libedit$secondaryArchSuffix = 0.0.52 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libedit${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libedit$secondaryArchSuffix = 0.0.52 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libedit$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libncurses$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf --force --install
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libedit
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$manDir/man3
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|