libsndfile: switch to cmake
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
parent
6124b001e9
commit
18c3166385
1 changed files with 6 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
# Copyright (C) 2007-2018 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
|
@ -18,10 +18,10 @@ PKG_MIRROR_HASH:=8e7cb3da240888c9c0e17d066e904d720c94dd379d3e5105df69797e2b32101
|
|||
PKG_LICENSE:=LGPLv2.1
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/libsndfile
|
||||
SECTION:=libs
|
||||
|
@ -37,18 +37,10 @@ define Package/libsndfile/description
|
|||
containing sampled audio data.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--disable-alsa \
|
||||
--disable-external-libs \
|
||||
--disable-sqlite
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
ac_cv_sys_file_offset_bits=64 \
|
||||
ac_cv_sys_large_files=yes \
|
||||
ac_cv_sys_largefile_CFLAGS=-D_LARGFILE_SOURCE \
|
||||
ac_cv_sys_largefile_LDFLAGS= \
|
||||
ac_cv_sys_largefile_LIBS= \
|
||||
ac_cv_sys_largefile_source=yes
|
||||
CMAKE_OPTIONS += \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DENABLE_EXTERNAL_LIBS:BOOL=FALSE \
|
||||
-DBUILD_REGTEST:BOOL=FALSE
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
|
||||
|
|
Loading…
Reference in a new issue