summaryrefslogtreecommitdiff
path: root/social/lua-ldap/PKGBUILD
blob: a2ca1c830b58dc1ff591e75022923de7292dd6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pkgname=lua-ldap
_pkgname=lualdap
pkgver=1.1.0
pkgrel=1
pkgdesc="Simple interface from Lua to an LDAP client"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.keplerproject.org/lualdap"
license=('BSD')
depends=('lua' 'libldap')
source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz)

build() {
    cd $srcdir/$_pkgname-$pkgver

    make CFLAGS="$CFLAGS" \
         LUA_LIBDIR=/usr/lib/lua/5.1 \
         LUA_VERSION_NUM=510 \
         LUA_INC=/usr/include 

}

package() {
    cd $srcdir/$_pkgname-$pkgver
    make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \
         LUA_VERSION_NUM=510 \
         install
}

md5sums=('5e104520c3f1333f38817a9fa1e76681')