mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
libmpdclient: Update to 2.14. Use autotools
Package versions newer than 2.11 require meson/ninja which OpenWrt does not support in its build environment. These files provide the minimum autotool configuration necessary to build later versions. Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -6,18 +6,18 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libmpdclient
|
||||
PKG_VERSION:=2.11
|
||||
PKG_VERSION:=2.14
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_HASH:=15fe693893c0d7ea3f4c35c4016fbd0332836164178b20983eec9b470846baf6
|
||||
PKG_SOURCE_URL:=http://www.musicpd.org/download/libmpdclient/2/
|
||||
PGK_HASH:=15fe693893c0d7ea3f4c35c4016fbd0332836164178b20983eec9b470846baf6
|
||||
PKG_HASH:=0a84e2791bfe3077cf22ee1784c805d5bb550803dffe56a39aa3690a38061372
|
||||
PKG_SOURCE_URL:=https://www.musicpd.org/download/libmpdclient/2/
|
||||
|
||||
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@@ -33,12 +33,13 @@ define Package/libmpdclient/description
|
||||
A stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages.
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS+="-std=gnu99"
|
||||
CONFIGURE_ARGS+= --disable-documentation
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-documentation \
|
||||
)
|
||||
# Newer sources require meson/ninja to build so...
|
||||
# Use our hacked-up version of the libmpdclient v2.11 autotools.
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
$(CP) ./autotools-files/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
|
||||
Reference in New Issue
Block a user