wok-next annotate ldapvi/receipt @ rev 21196
updated scrollz again (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 16:09:40 2019 +0100 (2019-10-03) |
parents | 466bca9334ef |
children |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
pascal@6587 | 2 |
pascal@6587 | 3 PACKAGE="ldapvi" |
pascal@6587 | 4 VERSION="1.7" |
pascal@6587 | 5 CATEGORY="system-tools" |
al@20473 | 6 SHORT_DESC="Interactive LDAP client for Unix terminals" |
pascal@6587 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20473 | 9 WEB_SITE="http://www.lichteblau.com/ldapvi/" |
al@20473 | 10 |
pascal@6587 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6587 | 12 WGET_URL="http://www.lichteblau.com/download/$TARBALL" |
pascal@15000 | 13 |
pascal@6587 | 14 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \ |
pascal@6587 | 15 readline-dev cyrus-sasl-dev" |
pascal@6587 | 16 |
al@20473 | 17 compile_rules() { |
pascal@6587 | 18 grep -qs getline_ldapvi common.h || |
pascal@6587 | 19 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h |
al@20473 | 20 ./configure \ |
al@20473 | 21 --prefix=/usr \ |
al@20473 | 22 $CONFIGURE_ARGS && |
al@20473 | 23 make && |
al@20473 | 24 install -Dm755 $src/ldapvi $install/usr/bin/ldapvi |
pascal@6587 | 25 } |
pascal@6587 | 26 |
al@20473 | 27 genpkg_rules() { |
al@20473 | 28 copy @std |
al@20473 | 29 DEPENDS="openldap glib popt openssl readline cyrus-sasl" |
al@20473 | 30 TAGS="LDAP" |
pascal@6587 | 31 } |