wok-next rev 6587
Add ldapvi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 10:24:21 2010 +0200 (2010-10-09) |
parents | 2614c1e9d774 |
children | eab29d604e9a |
files | ldapvi/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ldapvi/receipt Sat Oct 09 10:24:21 2010 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ldapvi" 1.7 +VERSION="1.7" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Interactive LDAP client for Unix terminals." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.lichteblau.com/ldapvi/" 1.13 +WGET_URL="http://www.lichteblau.com/download/$TARBALL" 1.14 +DEPENDS="openldap glib popt openssl readline cyrus-sasl" 1.15 +BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \ 1.16 +readline-dev cyrus-sasl-dev" 1.17 +TAGS="LDAP" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + grep -qs getline_ldapvi common.h || 1.24 + sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h 1.25 + ./configure --prefix=/usr $CONFIGURE_ARGS && make 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/bin 1.32 + cp -a $src/ldapvi $fs/usr/bin 1.33 +}