summaryrefslogtreecommitdiff
path: root/boehm-gc/Pkgfile
blob: 1a9b38edbe48e85dc44e682460f31b14c704790e (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.2
    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.14/libatomic_ops-7.6.14.tar.gz)
   10 
   11 build () {
   12   cd gc-$version
   13 
   14   ln -s ../libatomic_ops-7.6.14 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