wok-4.x view ldapvi/receipt @ rev 11858
up nss 3.13.3
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 08:34:30 2012 -0800 (2012-02-27) |
parents | |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.lichteblau.com/ldapvi/"
10 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
11 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
12 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
13 readline-dev cyrus-sasl-dev"
14 TAGS="LDAP"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 grep -qs getline_ldapvi common.h ||
21 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
22 ./configure --prefix=/usr $CONFIGURE_ARGS && make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/ldapvi $fs/usr/bin
30 }