diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-06-21 19:58:03 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-06-21 20:14:21 (GMT) |
commit | 05ff5e6e6b9738987a55905939d575d1b141fb11 (patch) | |
tree | 92a3f5ab3a2de413c69829b22d15bc2eee32c6a6 | |
parent | 4fdceb659fb1756f9029a2ff1f07c0b8f701c045 (diff) | |
download | linhes_pkgbuild-05ff5e6e6b9738987a55905939d575d1b141fb11.zip linhes_pkgbuild-05ff5e6e6b9738987a55905939d575d1b141fb11.tar.gz linhes_pkgbuild-05ff5e6e6b9738987a55905939d575d1b141fb11.tar.bz2 |
libunwind: initial inclusion. dep of xorg-server
-rw-r--r-- | abs/extra/libunwind/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/libunwind/PKGBUILD b/abs/extra/libunwind/PKGBUILD new file mode 100644 index 0000000..84ee163 --- /dev/null +++ b/abs/extra/libunwind/PKGBUILD @@ -0,0 +1,35 @@ +# $id$ +# Maintainer: Sébastien Luttringer +# 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=2 +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') +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: |