summaryrefslogtreecommitdiff
path: root/boehm-gc/Pkgfile
blob: 1a27b19edae71f2da06f3e0416ae7e1b9bc1247a (plain)
    1 # Description: Garbage collection and memory leak detection for C and C++
    2 # URL: https://hboehm.info/gc/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 
    5 name=boehm-gc
    6 version=8.2.0
    7 release=1
    8 source=(https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz
    9   https://github.com/ivmai/libatomic_ops/releases/download/v7.6.10/libatomic_ops-7.6.10.tar.gz)
   10 
   11 build () {
   12   cd gc-$version
   13 
   14   ln -s ../libatomic_ops-7.6.10 libatomic_ops
   15 
   16   ./configure \
   17       --prefix=/usr \
   18       --enable-threads=pthreads \
   19       --enable-static \
   20       --enable-shared
   21   make
   22   make DESTDIR=$PKG install
   23 
   24   rm -r $PKG/usr/share/doc
   25 
   26   install -D -m 644 doc/gc.man $PKG/usr/share/man/man3/gc.3
   27 }

Generated by cgit