wok diff ldapvi/receipt @ rev 14929
Up: eina-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:33 2013 +0200 (2013-08-08) |
parents | |
children | 380ffe05937a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ldapvi/receipt Thu Aug 08 19:15:33 2013 +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 +}