libebml: adopted port

This commit is contained in:
Tim Biermann 2023-08-13 11:05:42 +02:00
parent 17b8cdf918
commit 3d6fb99133
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 14 additions and 15 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30pYKSl9rPxL285AP4n0FSLfy1M03mJrt5gLfsUfIKuzYr6+54b/Ri5K1YPNMhuJ7I0NkOediCX6GjEse9JlhAY=
SHA256 (Pkgfile) = 57dc81b3657d12825bd600fc02e89a4d6ccb07b2029114fd9c6c498eccba16be
RWSagIOpLGJF35lCf0VruOl4JP05nIAN32VaMpX2eskg/43BBOUQuU37BW3W1k4NCmnGgfs81JPPgyEdDSXaJXm82rmgFGt19Q8=
SHA256 (Pkgfile) = c25e4b9b7a5e16e0f3fa0c564794ff319be787c50a5bf1a77faa0ac5e0f9ad9d
SHA256 (.footprint) = 544f95100b22804152c894eef787a4c56485af7619fc745d26f072742172c902
SHA256 (libebml-1.4.4.tar.xz) = 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7

View File

@ -1,7 +1,6 @@
# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
# Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML
# URL: https://github.com/Matroska-Org/libebml
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: cmake
# Maintainer: Tim Biermann, tbier at posteo dot de
name=libebml
version=1.4.4
@ -9,15 +8,15 @@ release=1
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_SHARED_LIBS=ON \
-Wno-dev
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_SHARED_LIBS=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
cmake --build build
DESTDIR=$PKG cmake --install build
}