mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
parent
d753d30854
commit
1a7b340438
1 changed files with 44 additions and 0 deletions
44
extra/gc/PKGBUILD
Normal file
44
extra/gc/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# $Id$
|
||||
# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
|
||||
# Contributor: dorphell <dorphell@gmx.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop noelision.patch while we're at glibc 2.18
|
||||
|
||||
pkgname=gc
|
||||
pkgver=7.4.2
|
||||
pkgrel=2.1
|
||||
pkgdesc="A garbage collector for C and C++"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.hboehm.info/gc/"
|
||||
license=('GPL')
|
||||
depends=('gcc-libs' 'libatomic_ops')
|
||||
source=("http://www.hboehm.info/gc/gc_source/${pkgname}-${pkgver}.tar.gz")
|
||||
md5sums=('12c05fd2811d989341d8c6d81f66af87')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
sed -i 's#pkgdata#doc#' doc/doc.am
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
autoreconf -fi
|
||||
./configure --prefix=/usr --enable-cplusplus --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in a new issue