#!/bin/sh NAME="taglib" DESC="Library for reading and editing metadata of several popular audio formats" MAKEDEPS="zlib cmake ninja" PKG_VER=1.12 SOURCE="https://taglib.github.io/releases/taglib-$PKG_VER.tar.gz" build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DWITH_ASF=ON \ -DWITH_MP4=ON \ -DBUILD_SHARED_LIBS=ON cmake --build build } package() { DESTDIR="$PKG_DEST" cmake --install build }