Files
haikuports/sys-libs/readline/readline-6.3.recipe
2014-03-27 01:23:33 +01:00

84 lines
2.4 KiB
Plaintext

SUMMARY="The GNU Readline library"
DESCRIPTION="
The GNU Readline library provides a set of functions for use by applications \
that allow users to edit command lines as they are typed in. Both Emacs and vi \
editing modes are available. The Readline library includes additional \
functions to maintain a list of previously-entered command lines, to recall \
and perhaps reedit those lines, and perform csh-like history expansion on \
previous commands.
The history facilites are also placed into a separate library, the History \
library, as part of the build process. The History library may be used without \
Readline in applications which desire its capabilities.
"
HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
COPYRIGHT="1989-2011 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
SRC_URI="ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz"
CHECKSUM_SIZE="2468560"
CHECKSUM_MD5="33c8fb279e981274f485fd91da77e94a"
CHECKSUM_RMD160="986262d811d9dbe1e38bc9d714853272967dca7e"
CHECKSUM_SHA512="f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
PATCHES="readline-6.3.patch"
PROVIDES="
readline$secondaryArchSuffix = $portVersion compat >= 6
lib:libhistory$secondaryArchSuffix = $portVersion compat >= 6
lib:libreadline$secondaryArchSuffix = $portVersion compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
runConfigure ./configure \
--with-curses
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libhistory libreadline
rmdir $binDir
# devel package
packageEntries devel \
$dataDir \
$developDir \
$documentationDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
readline${secondaryArchSuffix}_devel = $portVersion
devel:libhistory$secondaryArchSuffix = $portVersion compat >= 6
devel:libreadline$secondaryArchSuffix = $portVersion compat >= 6
"
REQUIRES_devel="
readline$secondaryArchSuffix == $portVersion base
"