diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libunwind | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libunwind')
-rw-r--r-- | community/libunwind/PKGBUILD | 36 |
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: |