# $Id: PKGBUILD 35785 2009-04-17 05:07:12Z eric $
# Maintainer: damir <damir@archlinux.org>

pkgname=pth
pkgver=2.0.7
pkgrel=2
pkgdesc="The GNU Portable Threads."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/pth/"
license=('LGPL')
depends=('glibc')
options=('!libtool' '!makeflags')
source=(ftp://ftp.gnu.org/gnu/pth/${pkgname}-${pkgver}.tar.gz)
md5sums=('9cb4a25331a4c4db866a31cbe507c793')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --mandir=/usr/share/man || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}