updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lib32-libntlm / PKGBUILD
blob44897929cdeecbf53fd1bda58c0e2f228ed557ce
1 #contributor: Robin Martinjak <rob@kingofnerds.net>
2 #contributor: darkbill
3 #contributor: twa022 <twa022 at gmail dot com>
5 _pkgname=libntlm
6 pkgname=lib32-${_pkgname}
7 pkgver=1.3
8 pkgrel=1
9 pkgdesc="a library that implement Microsoft's NTLM authentication"
10 arch=('x86_64')
11 source=(http://www.nongnu.org/libntlm/releases/$_pkgname-$pkgver.tar.gz)
12 url="http://www.nongnu.org/libntlm/"
13 license=('LGPL')
14 options=('!libtool')
15 makedepends=('gcc-multilib')
16 md5sums=('fd2419e4d1b7b70244c56c285e2a37a0')
18 build() {
19   export CC="gcc -m32"
20   export CXX="g++ -m32"
21   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
22   
23   cd "$srcdir/$_pkgname-$pkgver"
24   ./configure --prefix=/usr --libdir=/usr/lib32
25   make || return 1
27
29 package() {
30   cd "$srcdir/$_pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install
32   rm -r "$pkgdir"/usr/include