wok view ldapvi/receipt @ rev 15136
puzzles: create version2.def
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 10:51:36 2013 +0000 (2013-08-15) |
parents | c4aae9bc6d5a |
children | 785c14b9427a |
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 cd $src
22 grep -qs getline_ldapvi common.h ||
23 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
24 ./configure --prefix=/usr $CONFIGURE_ARGS && make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/ldapvi $fs/usr/bin
32 }