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. " LICENSE="BSD (3-clause)" COPYRIGHT="1992-2014 The NetBSD Foundation, Inc." HOMEPAGE="http://www.thrysoee.dk/editline/" SOURCE_URI="http://www.thrysoee.dk/editline/libedit-20150325-3.1.tar.gz" CHECKSUM_SHA256="c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5" REVISION="8" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PATCHES="libedit-2015_03_25_3.1.patchset" PROVIDES=" libedit$secondaryArchSuffix = $portVersion lib:libedit$secondaryArchSuffix = 0.0.53 compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix lib:libncurses$secondaryArchSuffix " BUILD_REQUIRES=" devel:libncurses$secondaryArchSuffix " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:aclocal cmd:autoreconf cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:sed cmd:m4 " SOURCE_DIR="libedit-20150325-3.1" BUILD() { mkdir m4 autoreconf --force --install runConfigure ./configure --enable-examples=no --enable-widec make $jobArgs } INSTALL() { make install # remove libtool file rm $libDir/libedit.la prepareInstalledDevelLibs libedit fixPkgconfig # devel package packageEntries devel \ $developDir \ $manDir/man3 } TEST() { make check } # ----- devel package ------------------------------------------------------- PROVIDES_devel=" libedit${secondaryArchSuffix}_devel = $portVersion devel:libedit$secondaryArchSuffix = 0.0.53 compat >= 0 " REQUIRES_devel=" libedit$secondaryArchSuffix == $portVersion base "