wok-stable view ldapvi/receipt @ rev 6947
Added dbus-dev and glib-dev to dbus-glib-dev depends. Needed for pkg-config --cflags dbus-glib-1 to work on clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 24 21:06:53 2010 +0000 (2010-10-24) |
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 }