PKGBUILDs/extra/gc/PKGBUILD
2009-10-09 21:23:22 -05:00

21 lines
665 B
Bash

# $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
}