wok annotate ldapvi/receipt @ rev 18228

linld: add tobzimage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 09:44:18 2015 +0200 (2015-07-23)
parents 785c14b9427a
children ede1d184d5c5
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@15000 8 LICENSE="GPL2"
pascal@6587 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@6587 10 WEB_SITE="http://www.lichteblau.com/ldapvi/"
pascal@6587 11 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
pascal@15000 12 TAGS="LDAP"
pascal@15000 13
pascal@6587 14 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
pascal@6587 15 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
pascal@6587 16 readline-dev cyrus-sasl-dev"
pascal@6587 17
pascal@6587 18 # Rules to configure and make the package.
pascal@6587 19 compile_rules()
pascal@6587 20 {
pascal@17628 21 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@6587 22 grep -qs getline_ldapvi common.h ||
pascal@6587 23 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
pascal@6587 24 ./configure --prefix=/usr $CONFIGURE_ARGS && make
pascal@6587 25 }
pascal@6587 26
pascal@6587 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6587 28 genpkg_rules()
pascal@6587 29 {
pascal@6587 30 mkdir -p $fs/usr/bin
pascal@6587 31 cp -a $src/ldapvi $fs/usr/bin
pascal@6587 32 }