wok view libedit/receipt @ rev 11659

xfe, Improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 12 22:40:16 2012 +0100 (2012-02-12)
parents 02b9f4e8f17e
children 8387b6915400
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit"
4 VERSION="3.0"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley-style licensed command line editor library"
7 MAINTAINER="domcox@users.sourceforge.net"
8 SOURCE="libedit-20100424"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.thrysoee.dk/editline/"
11 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
12 TAGS="cli editor library"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-widec \
22 $CONFIGURE_ARGS \
23 && make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }