wok-current view ldapvi/receipt @ rev 11250

Add: ucl and upx-ucl (opensource version)
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 11:04:50 2011 +0000 (2011-11-07)
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 }