mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:57:34 +00:00
Ports/bdwgc: Build using automake
This provides the necessary pkg-config files for other automake ports that depend on it.
This commit is contained in:
parent
bccf0a9346
commit
8a007e755d
9 changed files with 52 additions and 32 deletions
|
@ -8,18 +8,8 @@ depends=(libatomic_ops)
|
|||
workdir=gc-$version
|
||||
auth_type=sha256
|
||||
|
||||
build() {
|
||||
cd $workdir
|
||||
mkdir build || true
|
||||
cd build
|
||||
cmake .. \
|
||||
-Denable_threads=ON \
|
||||
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY="$DESTDIR/usr/local/bin" \
|
||||
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$DESTDIR/usr/local/lib"
|
||||
cmake --build .
|
||||
}
|
||||
|
||||
install() {
|
||||
cd ..
|
||||
cp -r include "$DESTDIR/usr/local/include/gc"
|
||||
useconfigure=true
|
||||
configopts=("--enable-threads=posix")
|
||||
pre_configure() {
|
||||
run ./autogen.sh
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue