smlinux/base/libgc/libgc.SMBuild
PktSurf 2818c6283f Fixed documentation directory-related build options in several build files
Removed extraneous README file in extra/FEH
Discarded DEBUG=0 build flag in extra/cmus
2023-03-30 20:30:49 +05:30

35 lines
751 B
Text
Executable file

app=libgc
version=8.0.4
build=2sml
homepage="https://www.hboehm.info/gc/"
download="https://www.hboehm.info/gc/gc_source/gc-$version.tar.gz"
desc="Conservative garbage collector for C and C++"
requires="gcc-libs"
prepbuilddir() {
mkandenterbuilddir
rm -rf gc-$version
tar xf $srcdir/gc-$version.tar.?z*
cd gc-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--enable-cplusplus \
--enable-threads=pthreads \
--disable-static \
$builddist
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
2a241a485ea689a1cae45aba29b21c8ac80956c8baec7b78a218d5ab59bdaa77f2c71f2f29d05e68e553d3160323da09e064d89045d56e03c0c7e9b5c12cd091 gc-8.0.4.tar.lz
"