summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:46:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:46:47 (GMT)
commit536845a63eb4bd7391b941b838b726114e64fc72 (patch)
tree554a11ef32a3ae2c55d849e347e909025cd931a7
parent8e6a771ec0549f45b472155c5e00435366a846ac (diff)
downloadlinhes_pkgbuild-536845a63eb4bd7391b941b838b726114e64fc72.zip
linhes_pkgbuild-536845a63eb4bd7391b941b838b726114e64fc72.tar.gz
linhes_pkgbuild-536845a63eb4bd7391b941b838b726114e64fc72.tar.bz2
gc 7.2
-new
-rw-r--r--abs/extra/gc/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/gc/PKGBUILD b/abs/extra/gc/PKGBUILD
new file mode 100644
index 0000000..e120ef5
--- /dev/null
+++ b/abs/extra/gc/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 161367 2012-06-10 10:38:24Z jgc $
+# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
+# Contributor: dorphell <dorphell@gmx.net>
+
+pkgname=gc
+pkgver=7.2
+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=('d17aecedef3d73e75387fb63558fa4eb')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-cplusplus
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr/share/gc"
+ install -m755 -d "${pkgdir}/usr/share/doc/gc"
+ install -m644 doc/README{,.{changes,contributors,environment,linux}} \
+ "${pkgdir}/usr/share/doc/gc/"
+
+ sed -i -e 's/GC_MALLOC 1L/gc 3/' doc/gc.man
+ install -m755 -d "${pkgdir}/usr/share/man/man3"
+ install -m644 doc/gc.man "${pkgdir}/usr/share/man/man3/gc.3"
+}