summaryrefslogtreecommitdiff
path: root/package/mpc/Makefile
blob: 5ab50fac3b514bc7941b22574ff13ee6f2f8a4a2 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		mpc
PKG_VERSION:=		0.20
PKG_RELEASE:=		1
PKG_MD5SUM:=		e94d71fc3869914e12ae14f8ee02864c
PKG_DESCR:=		music player client
PKG_SECTION:=		multimedia
PKG_DEPENDS:=		libmpdclient
PKG_BUILDDEP:=		libmpdclient
PKG_URL:=		http://mpd.wikia.com/wiki/Client:Mpc
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=musicpd/}

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,MPC,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--disable-iconv
CONFIGURE_ENV+=		ac_cv_lib_nsl_gethostbyname=no

post-install:
	$(INSTALL_DIR) $(IDIR_MPC)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/mpc \
		$(IDIR_MPC)/usr/bin

include ${TOPDIR}/mk/pkg-bottom.mk