Add libldap

This commit is contained in:
Aaron Lindsay 2014-03-20 21:33:57 -04:00
parent 0bf9a52c8a
commit 36d58e14c1

View File

@ -8,7 +8,7 @@ pkgver=1.4.1
_seafilever=2.1.2 _seafilever=2.1.2
#The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase
pkgrel=1 pkgrel=2
# The description of the package, should be about 80 characters long (one line) # The description of the package, should be about 80 characters long (one line)
pkgdesc="A framework for writing networked applications in C." pkgdesc="A framework for writing networked applications in C."
@ -23,7 +23,7 @@ url="https://github.com/haiwen/ccnet/"
license=('custom') license=('custom')
# Packages that your software needs to run. If the dependancy requires a minimum version number use the >= operator # Packages that your software needs to run. If the dependancy requires a minimum version number use the >= operator
depends=('libevent>=2.0' 'libzdb>=2.10.2' 'libsearpc>=1.2.1' 'jansson>=2.2.1') depends=('libevent>=2.0' 'libzdb>=2.10.2' 'libsearpc>=1.2.1' 'jansson>=2.2.1' 'libldap')
# Packages that must be installed to build the software, but at not necessary to run it # Packages that must be installed to build the software, but at not necessary to run it
makedepends=('vala>=0.8' 'pacman>=4.1') makedepends=('vala>=0.8' 'pacman>=4.1')
@ -48,7 +48,7 @@ sha256sums=('1333ee62e0987fa9e695e88c1a4339f82c55f1af86e6343773f440bb7f8dec5d'
configure_ccnet() { configure_ccnet() {
./autogen.sh ./autogen.sh
CFLAGS="-lpthread" ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2 CFLAGS="-lpthread" ./configure --enable-server --enable-ldap --prefix=/usr PYTHON=/usr/bin/python2
} }
pkgver() { pkgver() {