summaryrefslogtreecommitdiff
path: root/package/libmpdclient/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libmpdclient/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libmpdclient/Makefile')
-rw-r--r--package/libmpdclient/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/package/libmpdclient/Makefile b/package/libmpdclient/Makefile
index 9e46a8830..9949a1622 100644
--- a/package/libmpdclient/Makefile
+++ b/package/libmpdclient/Makefile
@@ -5,24 +5,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libmpdclient
PKG_VERSION:= 2.8
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 79f6c810c291fa4f382a92c8e25123de
PKG_DESCR:= library for interfacing MPD
PKG_SECTION:= libs
PKG_URL:= http://www.musicpd.org/
PKG_SITES:= http://www.musicpd.org/download/libmpdclient/2/
+PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-PKG_SUBPKGS:= LIBMPDCLIENT LIBMPDCLIENT_DEV
-PKGSD_LIBMPDCLIENT_DEV:=headers for interfacing MPD
-PKGSC_LIBMPDCLIENT_DEV:=devel
-PKGSS_LIBMPDCLIENT_DEV:=libmpdclient
-
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBMPDCLIENT_DEV,libmpdclient-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBMPDCLIENT_DEV},${PKGSD_LIBMPDCLIENT_DEV},${PKGSC_LIBMPDCLIENT_DEV}))
+$(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no
CONFIGURE_ARGS+= --disable-documentation
@@ -32,12 +27,4 @@ libmpdclient-install:
$(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
$(IDIR_LIBMPDCLIENT)/usr/lib
-libmpdclient-dev-install:
- $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT_DEV)/usr/include
- ${CP} $(WRKINST)/usr/include/* \
- $(IDIR_LIBMPDCLIENT_DEV)/usr/include
- $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT_DEV)/usr/lib/pkgconfig
- $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
- $(IDIR_LIBMPDCLIENT_DEV)/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk