wok-6.x annotate libedit/receipt @ rev 17727

ibedit: add -ltinfo in LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 22:31:32 2015 +0100 (2015-03-05)
parents 12d5d6943718
children 80675e0f496c
rev   line source
domcox@1356 1 # SliTaz package receipt.
domcox@1356 2
domcox@1356 3 PACKAGE="libedit"
domcox@5317 4 VERSION="3.0"
pascal@1423 5 CATEGORY="misc"
domcox@1356 6 SHORT_DESC="Berkeley-style licensed command line editor library"
pascal@13025 7 MAINTAINER="domcox@slitaz.org"
pascal@15472 8 LICENSE="BSD"
domcox@6083 9 SOURCE="libedit-20100424"
domcox@1356 10 TARBALL="$SOURCE-$VERSION.tar.gz"
domcox@1356 11 WEB_SITE="http://www.thrysoee.dk/editline/"
domcox@1356 12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
domcox@6098 13 TAGS="cli editor library"
domcox@1356 14
pascal@15613 15 BUILD_DEPENDS="gettext"
pascal@15613 16
domcox@1356 17 # Rules to configure and make the package.
domcox@1356 18 compile_rules()
domcox@1356 19 {
pascal@17727 20 export LDFLAGS="$LDFLAGS -ltinfo"
domcox@1356 21 ./configure \
domcox@1356 22 --prefix=/usr \
domcox@1356 23 --mandir=/usr/share/man \
domcox@6098 24 --enable-widec \
domcox@1356 25 $CONFIGURE_ARGS \
domcox@1356 26 && make
pascal@15472 27 make DESTDIR=$DESTDIR install
domcox@1356 28 }
domcox@1356 29
domcox@1356 30 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 31 genpkg_rules()
domcox@1356 32 {
domcox@1356 33 mkdir -p $fs/usr/lib
pascal@15472 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
domcox@1356 35 }