libsndfile: switch to cmake
Signed-off-by: Peter Wagner <tripolar@gmx.at>
This commit is contained in:
parent
2b44a18df1
commit
d2eaf4c3ca
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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -18,10 +18,10 @@ PKG_MIRROR_HASH:=8e7cb3da240888c9c0e17d066e904d720c94dd379d3e5105df69797e2b32101
|
||||||
PKG_LICENSE:=LGPLv2.1
|
PKG_LICENSE:=LGPLv2.1
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
|
||||||
define Package/libsndfile
|
define Package/libsndfile
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
|
@ -36,18 +36,10 @@ define Package/libsndfile/description
|
||||||
containing sampled audio data.
|
containing sampled audio data.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CMAKE_OPTIONS += \
|
||||||
--disable-alsa \
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||||
--disable-external-libs \
|
-DENABLE_EXTERNAL_LIBS:BOOL=FALSE \
|
||||||
--disable-sqlite
|
-DBUILD_REGTEST:BOOL=FALSE
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue