wok-current view libedit/receipt @ rev 23117
updated libusb and libusb-dev (1.0.22 -> 1.0.23)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 17:06:21 2020 +0100 (2020-03-12) |
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 }