summaryrefslogtreecommitdiff
path: root/extra/gc/PKGBUILD
blob: 70308372b17383a00e395cee6b1f7e2b042727b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 18876 2008-11-09 22:41:09Z andyrtr $
# 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 'mips64el')
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
}