wok-next view libedit/receipt @ rev 14170

Up shaarli (0.0.41beta)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 15:31:59 2013 +0100 (2013-03-08)
parents 0f8dcbf8807b
children 6c3718ca17b6
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@slitaz.org"
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 }