updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / clthreads / PKGBUILD
blob8d1a6bc6fb618a41dd500a70af69dd5e7178ed91
1 # Contributor: Christoph Zeiler <rabyte*gmail>
2 # Contributor: Tom K <tomk@runbox.com>
3 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
4 # Maintainer: Philipp Überbacher <murks at lavabit dot com>
5 pkgname=clthreads
6 pkgver=2.4.0
7 pkgrel=4
8 pkgdesc="Thread library for aeolus, aliki, jaaa and japa."
9 arch=('i686' 'x86_64')
10 url="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html"
11 license=('LGPL')
12 depends=('gcc-libs')
13 source=(http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('90b650f1f5c9f39f4d77f73aca3c53be')
16 build() {
17   cd "${pkgname}-${pkgver}"
19   sed 's|usr/bin|bin|g' -i Makefile
21   #What was this good for?
22   #make CPPFLAGS="-I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
23   mkdir -p ${pkgdir}/usr/include
24   make PREFIX=${pkgdir}/usr LIBDIR=lib
27 package(){
28   cd "${pkgname}-${pkgver}"
29   make PREFIX=${pkgdir}/usr LIBDIR=lib install