Files
haikuports/sys-libs/readline/readline-6.3.recipe
Humdinger 06e8ae9fb8 De-lint recipes
*	fceux
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	fenris
	SUMMARY must start with capital letter
	Re-ordered blocks

*	gcc
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	giflib6
	SUMMARY must start with capital letter
	Re-ordered blocks

*	glm
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	hexedit
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	lateef_font
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	libmicro
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	libusb_compat
	SUMMARY must start with capital letter
	Re-ordered blocks

*	readline
	Re-ordered blocks

*	libutf8proc
	SUMMARY must start with capital letter
	Re-ordered blocks
	Added REQUIRES_devel

*	libwebp
	SUMMARY must start with capital letter
	Re-ordered blocks

*	lighttpd
	SUMMARY must start with capital letter
	Re-ordered blocks

*	lzip
	SUMMARY must start with capital letter
	Re-ordered blocks
2015-08-08 13:05:27 +02:00

79 lines
2.1 KiB
Bash

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"
REVISION="2"
SOURCE_URI="ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz"
CHECKSUM_SHA256="56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43"
PATCHES="readline-6.3.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
readline$secondaryArchSuffix = $portVersion compat >= 6
lib:libhistory$secondaryArchSuffix = $portVersion compat >= 6
lib:libreadline$secondaryArchSuffix = $portVersion compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
PROVIDES_devel="
readline${secondaryArchSuffix}_devel = $portVersion
devel:libhistory$secondaryArchSuffix = $portVersion compat >= 6
devel:libreadline$secondaryArchSuffix = $portVersion compat >= 6
"
REQUIRES_devel="
readline$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
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 SHLIB_LIBS=-lncurses
}
INSTALL()
{
make install
prepareInstalledDevelLibs libhistory libreadline
rmdir $binDir
# devel package
packageEntries devel \
$dataDir \
$developDir \
$documentationDir
}