wok view libedit/receipt @ rev 17504
le: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 08 11:25:22 2015 +0100 (2015-01-08) |
parents | 6c3718ca17b6 |
children | 62ae2c6ea494 |
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 cd $src
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 }