distribution/packages/audio/flac/package.mk

23 lines
668 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="flac"
PKG_VERSION="1.4.3"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPLv2"
PKG_SITE="https://xiph.org/flac/"
2023-02-24 13:53:43 +00:00
PKG_URL="http://downloads.xiph.org/releases/flac/${PKG_NAME}-${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain libogg"
PKG_LONGDESC="An Free Lossless Audio Codec."
PKG_BUILD_FLAGS="+speed"
2022-02-05 14:23:32 +00:00
2023-12-15 02:14:46 +00:00
pre_configure_target() {
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=ON \
-DWITH_STACK_PROTECTOR=OFF \
-DINSTALL_MANPAGES=OFF \
-DNDEBUG=OFF"
}
2022-02-05 14:23:32 +00:00
post_makeinstall_target() {
2023-02-24 13:53:43 +00:00
rm -rf ${INSTALL}/usr/bin
2022-02-05 14:23:32 +00:00
}