updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / statifier64 / PKGBUILD
blobe6ee4ed92f2d155a9b1a80f43a9e98b70408308f
1 # Contributor: Tim Yang <tdy@gmx.com>
2 # Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
3 # Contributor: Leslie P. Polzer <polzer@gnu.org>
4 pkgname=statifier64
5 pkgver=1.6.15
6 pkgrel=2
7 pkgdesc="A tool for generating static binaries of dynamic ELF executables"
8 arch=('i686', 'x86_64')
9 url="http://statifier.sourceforge.net/"
10 license=('GPL')
11 depends=('gdb')
12 source=(http://downloads.sourceforge.net/statifier/statifier-$pkgver.tar.gz)
13 md5sums=('624bf5d2096ef495bd9d8f5b8963b23b')
15 build() {
16   cd "$srcdir/statifier-$pkgver"
17   mv configs/config.x86_64 configs/config.x86_64.orig
18   if ! [ -f "/usr/include/gnu/stubs-32.h" ]; then
19     cat configs/config.x86_64.orig | perl -ne 's/^(\s*ELF32\s*\:\=\s*)(yes)/$1no/i; print' > configs/config.x86_64
20   fi
21   make || return 1
22   make DESTDIR="$pkgdir" install || return 1