updated on Wed Jan 11 04:01:16 UTC 2012
[aur-mirror.git] / lib32-gc / PKGBUILD
blob96f02248cec6e26a5b6a4ad42559e08b07392857
1 # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
3 pkgname=lib32-gc
4 pkgver=7.1
5 pkgrel32=1
6 pkgrel=2
7 pkgdesc="A garbage collector for C and C++"
8 arch=('x86_64')
9 license=('GPL')
10 groups=('lib32')
11 depends=('lib32-gcc-libs')
12 url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
13 source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${pkgver}.tar.gz)
15 build() {
16   export CC="gcc -m32"
17   export CXX="g++ -m32"
18   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
20   cd "${srcdir}/gc-${pkgver}"
21   ./configure --prefix=/usr --enable-cplusplus --libdir=/usr/lib32
22   make
25 package() {
26   cd "${srcdir}/gc-${pkgver}"
28   make DESTDIR="${pkgdir}" install 
29   rm -rf "${pkgdir}"/usr/{share,include}
31 md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')