forked from ports/contrib
libebur128: updated cmake syntax
This commit is contained in:
parent
087a7a8f27
commit
11df549aff
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF33+lIkvIcJ1ZLAu+RnwUiPyKv0w1Fe/D/0F5Ybj4SJ+uwgXBTBPifa0qieVxL0r3QdWNeoeaHdC+vBEM9HXYrAo=
|
||||
SHA256 (Pkgfile) = f957c4c71a33f91a47ae9596cc84dc205ca0446f2c1ec03bcd6a3867eb6f2eb9
|
||||
RWSagIOpLGJF398EmujS55Nhhtzjns2zSkZkTGLooygb2K9lS1Ax/0aBt02jZN7AnbpuwWVIJsQVYQ1QRuaq7BDW0pcKk9PHnw4=
|
||||
SHA256 (Pkgfile) = 78bee3a881f798c7a02dcd52899c2bff67b5254dce7f9a285425a8e9ab1b6e6e
|
||||
SHA256 (.footprint) = c92f41f735df172facbbdbec192ddd40ce457a60866d33025422ce08a79e8fdc
|
||||
SHA256 (libebur128-1.2.4.tar.gz) = 2ee41a3a5ae3891601ae975d5ec2642b997d276ef647cf5c5b363b6127f7add8
|
||||
|
@ -9,12 +9,12 @@ release=1
|
||||
source=(https://github.com/jiixyj/libebur128/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_LIBEBUR128_OPTIONS=' -GNinja'
|
||||
cmake -S$name-$version -Bbuild $PKGMK_LIBEBUR128_OPTIONS \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user