summaryrefslogtreecommitdiff
path: root/community/libunwind
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
committerroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
commita829a3b1a4b3eefc7adb1d630f071247e79b9f72 (patch)
tree486be176b9303db0602521e1078dff6d5b04fb71 /community/libunwind
parent1b9faba25721b73f30e49f0cea9c7346eedd0f73 (diff)
Sat Dec 15 02:25:53 PST 2012
Diffstat (limited to 'community/libunwind')
-rw-r--r--community/libunwind/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/libunwind/PKGBUILD b/community/libunwind/PKGBUILD
new file mode 100644
index 000000000..57cc71112
--- /dev/null
+++ b/community/libunwind/PKGBUILD
@@ -0,0 +1,36 @@
+# $id$
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# Contributor: Lawrence Lee <valheru@facticius.net>
+# Contributor: Phillip Marvin <phillip.marvin@gmail.com>
+# Contributor: keystone <phillip.marvin@gmail.com>
+
+pkgname=libunwind
+pkgver=1.1
+pkgrel=1
+pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
+arch=('i686' 'x86_64')
+url='http://www.nongnu.org/libunwind/'
+license=('GPL')
+depends=('glibc' 'xz')
+options=(!libtool)
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure CFLAGS="$CFLAGS -U_FORTIFY_SOURCE" --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ # This function is ``supposed'' to fail. Upstream know, but haven't fixed it.
+ make check || return 0
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: