wok-next view ldapvi/receipt @ rev 21464

stardict: added mysql-dev build dependency
author Hans-G?nter Theisgen
date Tue May 12 08:23:46 2020 +0100 (2020-05-12)
parents 466bca9334ef
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.lichteblau.com/ldapvi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
14 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
15 readline-dev cyrus-sasl-dev"
17 compile_rules() {
18 grep -qs getline_ldapvi common.h ||
19 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 install -Dm755 $src/ldapvi $install/usr/bin/ldapvi
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
30 TAGS="LDAP"
31 }