wok view ldapvi/receipt @ rev 25351
updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 13:57:27 2022 +0100 (2022-07-26) |
parents | e93301ba4fec |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ldapvi"
4 VERSION="1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interactive LDAP client for Unix terminals."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lichteblau.com/ldapvi/"
11 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
12 TAGS="LDAP"
14 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
15 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
16 readline-dev cyrus-sasl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
29 grep -qs getline_ldapvi common.h ||
30 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
31 ./configure --prefix=/usr $CONFIGURE_ARGS && make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/ldapvi $fs/usr/bin
39 }