summaryrefslogtreecommitdiff
path: root/libebml/Pkgfile
blob: 13a674b5cd222bb7ed985ef0800f3d984d584677 (plain)
    1 # Description: A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.
    2 # URL: https://github.com/Matroska-Org/libebml
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: cmake
    5 
    6 name=libebml
    7 version=1.4.4
    8 release=1
    9 source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
   10 
   11 build() {
   12 	cmake -S $name-$version -B build -G Ninja \
   13 		-D CMAKE_INSTALL_PREFIX=/usr \
   14 		-D CMAKE_INSTALL_LIBDIR=lib \
   15 		-D CMAKE_BUILD_TYPE=Release \
   16 		-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   17 		-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
   18 		-D BUILD_SHARED_LIBS=ON \
   19 		-Wno-dev
   20 
   21 	cmake --build build
   22 	DESTDIR=$PKG cmake --install build
   23 }

Generated by cgit