wok-current view ldapvi/receipt @ rev 9660

make: use cleaner var order
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 08:12:04 2011 +0200 (2011-05-01)
parents
children 380ffe05937a
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 }