wok view ldapvi/receipt @ rev 22254

updated xorg-xdriinfo (1.0.4 -> 1.0.6)
author Hans-G?nter Theisgen
date Tue Nov 12 17:09:31 2019 +0100 (2019-11-12)
parents 785c14b9427a
children ede1d184d5c5
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 grep -qs getline_ldapvi common.h ||
23 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
24 ./configure --prefix=/usr $CONFIGURE_ARGS && make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/ldapvi $fs/usr/bin
32 }