wok-next view ldapvi/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | e93301ba4fec |
children | e1c0edabdcb2 |
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 grep -qs getline_ldapvi common.h ||
22 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
23 ./configure --prefix=/usr $CONFIGURE_ARGS && make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $src/ldapvi $fs/usr/bin
31 }