2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=https
://www.musicpd.org
/download
/libmpdclient
/2
14 PKG_HASH
:=158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189
16 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
17 PKG_LICENSE
:=BSD-3-Clause
18 PKG_LICENSE_FILES
:=COPYING
20 PKG_BUILD_DEPENDS
:=meson
/host
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/..
/devel
/meson
/meson.mk
26 define Package
/libmpdclient
30 URL
:=https
://musicpd.org
/libs
/libmpdclient
/
33 define Package
/libmpdclient
/description
34 A stable
, documented
, asynchronous API library for interfacing MPD in the C
, C
++ & Objective C languages.
37 MESON_ARGS
+=-Ddocumentation
=false
39 define Build
/InstallDev
43 $(1)/usr
/lib
/pkgconfig
45 $(PKG_INSTALL_DIR
)/usr
/lib
/* \
48 $(PKG_INSTALL_DIR
)/usr
/include/* \
51 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig \
55 define Package
/libmpdclient
/install
59 $(PKG_INSTALL_DIR
)/usr
/lib
/libmpdclient.so
* \
63 $(eval
$(call BuildPackage
,libmpdclient
))