opt/libid3tag/Pkgfile

23 lines
683 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: ID3 tag manipulation library
# URL: https://github.com/tenacityteam/libid3tag
2021-01-31 18:33:35 +01:00
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: zlib cmake
2006-02-23 16:26:10 +01:00
name=libid3tag
2022-05-06 15:58:41 +02:00
version=0.16.2
2006-02-23 16:26:10 +01:00
release=1
source=(https://github.com/tenacityteam/libid3tag/archive/$version/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
prt-get isinst ninja && PKGMK_LIBID3TAG+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_LIBID3TAG \
-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" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
2006-02-23 16:26:10 +01:00
}