wok-current annotate libedit/receipt @ rev 25233

updated python-requests (2.23.0 -> 2.27.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:27:05 2022 +0100 (2022-07-13)
parents 2a0479881723
children
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@24733 12 SOURCE="libedit-20210910"
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
pascal@24436 18 # What is the latest version available today?
pascal@24436 19 current_version()
pascal@24436 20 {
pascal@24436 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24436 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-[0-9]*-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24436 23 }
pascal@24436 24
domcox@1356 25 # Rules to configure and make the package.
domcox@1356 26 compile_rules()
domcox@1356 27 {
pascal@17727 28 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@23023 29
Hans-G?nter@21172 30 ./configure \
Hans-G?nter@21172 31 --prefix=/usr \
Hans-G?nter@21172 32 --mandir=/usr/share/man \
Hans-G?nter@21172 33 --enable-widec \
Hans-G?nter@21172 34 $CONFIGURE_ARGS &&
Hans-G?nter@24733 35 make &&
Hans-G?nter@24733 36 make install DESTDIR=$DESTDIR
domcox@1356 37 }
domcox@1356 38
domcox@1356 39 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 40 genpkg_rules()
domcox@1356 41 {
Hans-G?nter@24733 42 cook_copy_files *.so*
domcox@1356 43 }