From a829a3b1a4b3eefc7adb1d630f071247e79b9f72 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Dec 2012 02:31:42 -0800 Subject: Sat Dec 15 02:25:53 PST 2012 --- community/libunwind/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 community/libunwind/PKGBUILD (limited to 'community/libunwind/PKGBUILD') 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 +# Contributor: Lawrence Lee +# Contributor: Phillip Marvin +# Contributor: keystone + +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: -- cgit v1.2.3-54-g00ecf