summaryrefslogtreecommitdiff
path: root/package/libmpdclient/Makefile
blob: 2d9f31c7581b2bb9b5e799ca2012b87873086a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libmpdclient
PKG_VERSION:=		2.13
PKG_RELEASE:=		1
PKG_HASH:=		5115bd52bc20a707c1ecc7587e6389c17305348e2132a66cf767c62fc55ed45d
PKG_DESCR:=		library for interfacing music player daemon
PKG_SECTION:=		libs/audio
PKG_BUILDDEP:=		meson-host
PKG_URL:=		http://www.musicpd.org/
PKG_SITES:=		http://www.musicpd.org/download/libmpdclient/2/
PKG_OPTS:=		dev

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

WRKBUILD=               $(WRKDIR)/$(PKG_NAME)-obj

CONFIG_STYLE:=		meson
BUILD_STYLE:=		meson
INSTALL_STYLE:=		meson

libmpdclient-install:
	$(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
		$(IDIR_LIBMPDCLIENT)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk