wok-next view ldapvi/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 466bca9334ef |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ldapvi"
4 VERSION="1.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interactive LDAP client for Unix terminals"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.lichteblau.com/ldapvi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.lichteblau.com/download/$TARBALL"
14 BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
15 readline-dev cyrus-sasl-dev"
17 compile_rules() {
18 grep -qs getline_ldapvi common.h ||
19 sed -i 's/char .getline(.*/#define getline getline_ldapvi\n&/' common.h
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 install -Dm755 $src/ldapvi $install/usr/bin/ldapvi
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="openldap glib popt openssl readline cyrus-sasl"
30 TAGS="LDAP"
31 }