wok-next annotate ldapvi/receipt @ rev 20313
libav: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 21:37:38 2017 +0100 (2017-11-10) |
parents | e93301ba4fec |
children | e1c0edabdcb2 |
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@6587 | 21 grep -qs getline_ldapvi common.h || |
pascal@6587 | 22 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h |
pascal@6587 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && make |
pascal@6587 | 24 } |
pascal@6587 | 25 |
pascal@6587 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6587 | 27 genpkg_rules() |
pascal@6587 | 28 { |
pascal@6587 | 29 mkdir -p $fs/usr/bin |
pascal@6587 | 30 cp -a $src/ldapvi $fs/usr/bin |
pascal@6587 | 31 } |