PKGBUILDs/extra/gc/PKGBUILD

22 lines
665 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 18815 2008-11-09 12:15:36Z jgc $
# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>
pkgname=gc
pkgver=7.1
pkgrel=1
pkgdesc="A garbage collector for C and C++"
arch=(i686 x86_64)
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license=('GPL')
source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-${pkgver}.tar.gz)
depends=('gcc-libs')
options=(!libtool)
md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --enable-cplusplus || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}