]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - ldapvi/ldapvi.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / ldapvi / ldapvi.nm
diff --git a/ldapvi/ldapvi.nm b/ldapvi/ldapvi.nm
new file mode 100644 (file)
index 0000000..75d397c
--- /dev/null
@@ -0,0 +1,49 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = ldapvi
+version    = 1.7
+release    = 1
+
+groups     = Applications/Editors
+url        = http://www.lichteblau.com/ldapvi/
+license    = GPLv2+
+summary    = An interactive LDAP client.
+
+description
+       ldapvi is an interactive LDAP client for Unix terminals. Using it, you can \
+       update LDAP entries with a text editor, which is the same as vi. Think of \
+       it as vipw(1) for LDAP.
+end
+
+source_dl  =
+
+build
+       requires
+               glib2-devel
+               ncurses-devel
+               openldap-devel
+               openssl-devel
+               pkg-config
+               popt-devel
+               readline-devel
+       end
+
+       prepare_cmds
+               for i in $(find . -name "*.[ch]"); do \
+                       sed -e "s/getline/_&/g" -i $i
+               done
+       end
+
+       install
+               make install prefix=%{BUILDROOT}/usr
+       end
+end
+
+packages
+       package %{name}
+               requires = vim
+       end
+end