wok-6.x view libedit/receipt @ rev 17908

Up : tazusb (try to fix "-1 unbuilt")
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Apr 06 18:43:26 2015 +0200 (2015-04-06)
parents 12d5d6943718
children 80675e0f496c
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 }