wok-current view libedit/receipt @ rev 23645
openal: added dependency libatomic
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 13:45:45 2020 +0100 (2020-04-20) |
parents | 80675e0f496c |
children | 2a0479881723 |
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-20191231"
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"
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --enable-widec \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }