summaryrefslogtreecommitdiff
path: root/extra/pth
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pth')
-rw-r--r--extra/pth/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/pth/PKGBUILD b/extra/pth/PKGBUILD
new file mode 100644
index 000000000..8176b80e9
--- /dev/null
+++ b/extra/pth/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 78043 2010-04-19 08:33:13Z dgriffiths $
+# Maintainer: damir <damir@archlinux.org>
+
+pkgname=pth
+pkgver=2.0.7
+pkgrel=3
+pkgdesc="The GNU Portable Threads."
+arch=('i686' 'x86_64' 'mips64el')
+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
+}