wok-6.x annotate libedit/receipt @ rev 24045

memtest,plop: tune lzma compression
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 06 12:50:46 2021 +0000 (2021-05-06)
parents 80675e0f496c
children 2a0479881723
rev   line source
domcox@1356 1 # SliTaz package receipt.
domcox@1356 2
domcox@1356 3 PACKAGE="libedit"
Hans-G?nter@21172 4 VERSION="3.1"
pascal@1423 5 CATEGORY="misc"
Hans-G?nter@21172 6 TAGS="cli editor library"
Hans-G?nter@21172 7 SHORT_DESC="Berkeley-style licensed command line editor library."
pascal@13025 8 MAINTAINER="domcox@slitaz.org"
pascal@15472 9 LICENSE="BSD"
Hans-G?nter@21172 10 WEB_SITE="https://www.thrysoee.dk/editline/"
Hans-G?nter@21172 11
Hans-G?nter@23023 12 SOURCE="libedit-20191231"
domcox@1356 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21172 14 WGET_URL="$WEB_SITE$TARBALL"
domcox@1356 15
Hans-G?nter@21172 16 BUILD_DEPENDS="gettext ncurses-dev"
pascal@15613 17
domcox@1356 18 # Rules to configure and make the package.
domcox@1356 19 compile_rules()
domcox@1356 20 {
pascal@17727 21 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@23023 22
Hans-G?nter@21172 23 ./configure \
Hans-G?nter@21172 24 --prefix=/usr \
Hans-G?nter@21172 25 --mandir=/usr/share/man \
Hans-G?nter@21172 26 --enable-widec \
Hans-G?nter@21172 27 $CONFIGURE_ARGS &&
Hans-G?nter@21172 28 make -j 1 &&
pascal@15472 29 make DESTDIR=$DESTDIR install
domcox@1356 30 }
domcox@1356 31
domcox@1356 32 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 33 genpkg_rules()
domcox@1356 34 {
domcox@1356 35 mkdir -p $fs/usr/lib
Hans-G?nter@23023 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
domcox@1356 37 }