taglib: simplyfing cmake configuration

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-09-23 14:29:49 -07:00 committed by Lukas Rusak
parent 9ebc33a6f0
commit 4fb0f25424
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -32,10 +32,10 @@ PKG_LONGDESC="TagLib is a library for reading and editing the meta-data of sever
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
# package specific configure options
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_STATIC=1 ..
}
PKG_CMAKE_OPTS_TARGET="-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=OFF \
-DWITH_MP4=ON \
-DWITH_ASF=ON"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin