wok view libedit/receipt @ rev 21918

updated smake (1.2a49 -> 1.2.5)
author Hans-G?nter Theisgen
date Sat Oct 05 11:15:38 2019 +0100 (2019-10-05)
parents 62ae2c6ea494
children e888209936f1
line source
1 # SliTaz package receipt.
3 PACKAGE="libedit"
4 VERSION="3.1"
5 CATEGORY="misc"
6 TAGS="cli editor library"
7 SHORT_DESC="Berkeley-style licensed command line editor library."
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://www.thrysoee.dk/editline/"
12 SOURCE="libedit-20190324"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$WEB_SITE$TARBALL"
16 BUILD_DEPENDS="gettext ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --enable-widec \
26 $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }