wok-next view libedit/receipt @ rev 18203

Up tazweb (165)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 13 12:16:43 2015 +0200 (2015-07-13)
parents 12d5d6943718
children 76524bb0e096
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 LICENSE="BSD"
9 SOURCE="libedit-20100424"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.thrysoee.dk/editline/"
12 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL"
13 TAGS="cli editor library"
15 BUILD_DEPENDS="gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --enable-widec \
25 $CONFIGURE_ARGS \
26 && make
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }