updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / libmix / PKGBUILD
blob4411aadcd56ab75191c08bab29ede75befd49e4a
1 # Contributor: ice-man <icemanf@gmail.com>
2 pkgname=libmix
3 pkgver=2.05
4 pkgrel="1" 
5 pkgdesc="Programs Crypto/Network/Multipurpose Library"
6 provides=libmix
7 makedepends=('gcc' 'make')
8 depends=()
9 source=(http://mixter.void.ru/${pkgname}-${pkgver/.}.tgz)
10 url="http://mixter.void.ru/"
11 md5sums=('9b2b6dafbbea83aec9d272534a2fdb34')
12 arch=('i686')
13 license="GPL-2"
15 build() {
16   cd $startdir/src/$pkgname-v$pkgver
17   sed -i "s:-O3 -funroll-loops:${CFLAGS} -fPIC:" configure
18   ./configure --with-no-net2 --with-libraries-as-cpp
19   make || return 1
20   make\
21         INSTALL_INCLUDES_IN="$startdir"/pkg/usr/include\
22         INSTALL_LIBRARY_IN="$startdir"/pkg/usr/lib\
23         INSTALL_MANPAGE_IN="$startdir"/pkg/usr/man \
24         install || return 1