wok-4.x annotate libedit/receipt @ rev 11965

tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 15:32:28 2012 +0100 (2012-03-02)
parents 02b9f4e8f17e
children
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"
domcox@1356 7 MAINTAINER="domcox@users.sourceforge.net"
domcox@6083 8 SOURCE="libedit-20100424"
domcox@1356 9 TARBALL="$SOURCE-$VERSION.tar.gz"
domcox@1356 10 WEB_SITE="http://www.thrysoee.dk/editline/"
domcox@1356 11 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
domcox@6098 12 TAGS="cli editor library"
domcox@1356 13
domcox@1356 14 # Rules to configure and make the package.
domcox@1356 15 compile_rules()
domcox@1356 16 {
domcox@1356 17 cd $src
domcox@1356 18 ./configure \
domcox@1356 19 --prefix=/usr \
domcox@1356 20 --mandir=/usr/share/man \
domcox@6098 21 --enable-widec \
domcox@1356 22 $CONFIGURE_ARGS \
domcox@1356 23 && make
domcox@1356 24 make DESTDIR=$PWD/_pkg install
domcox@1356 25 }
domcox@1356 26
domcox@1356 27 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 28 genpkg_rules()
domcox@1356 29 {
domcox@1356 30 mkdir -p $fs/usr/lib
domcox@1356 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
domcox@1356 32 }
domcox@1356 33