summaryrefslogtreecommitdiffstats
path: root/abs/extra/pth/PKGBUILD
blob: 2e0f66b1d2d2d01e40f0cd7f756327d526963e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $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
}