wok-next annotate libedit/receipt @ rev 8824

Up: tazwok 4.2
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 24 00:27:46 2011 +0100 (2011-02-24)
parents a0629adf72c8
children 0f8dcbf8807b
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@1356 8 DEPENDS=""
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
domcox@1356 15 # Rules to configure and make the package.
domcox@1356 16 compile_rules()
domcox@1356 17 {
domcox@1356 18 cd $src
domcox@1356 19 ./configure \
domcox@1356 20 --prefix=/usr \
domcox@1356 21 --mandir=/usr/share/man \
domcox@6098 22 --enable-widec \
domcox@1356 23 $CONFIGURE_ARGS \
domcox@1356 24 && make
domcox@1356 25 make DESTDIR=$PWD/_pkg install
domcox@1356 26 }
domcox@1356 27
domcox@1356 28 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 29 genpkg_rules()
domcox@1356 30 {
domcox@1356 31 mkdir -p $fs/usr/lib
domcox@1356 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
domcox@1356 33 strip --strip-unneeded $fs/usr/lib/*
domcox@1356 34 }
domcox@1356 35