wok-6.x annotate ldapvi/receipt @ rev 7482

modify .desktop of 3 file
author fireflyoo <lufeng369@gmail.com>
date Fri Dec 03 00:24:35 2010 +0800 (2010-12-03)
parents
children 380ffe05937a
rev   line source
pascal@6587 1 # SliTaz package receipt.
pascal@6587 2
pascal@6587 3 PACKAGE="ldapvi"
pascal@6587 4 VERSION="1.7"
pascal@6587 5 CATEGORY="system-tools"
pascal@6587 6 SHORT_DESC="Interactive LDAP client for Unix terminals."
pascal@6587 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@6587 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@6587 9 WEB_SITE="http://www.lichteblau.com/ldapvi/"
pascal@6587 10 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
pascal@6587 11 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
pascal@6587 12 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
pascal@6587 13 readline-dev cyrus-sasl-dev"
pascal@6587 14 TAGS="LDAP"
pascal@6587 15
pascal@6587 16 # Rules to configure and make the package.
pascal@6587 17 compile_rules()
pascal@6587 18 {
pascal@6587 19 cd $src
pascal@6587 20 grep -qs getline_ldapvi common.h ||
pascal@6587 21 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
pascal@6587 22 ./configure --prefix=/usr $CONFIGURE_ARGS && make
pascal@6587 23 }
pascal@6587 24
pascal@6587 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6587 26 genpkg_rules()
pascal@6587 27 {
pascal@6587 28 mkdir -p $fs/usr/bin
pascal@6587 29 cp -a $src/ldapvi $fs/usr/bin
pascal@6587 30 }