source: packages/libs/libmpd/Makefile @ 25374

Last change on this file since 25374 was 25374, checked in by loswillios, 5 years ago

[libmpd] update to 0.20.0

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2007-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=libmpd
11PKG_VERSION:=0.20.0
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://download.sarine.nl/Programs/gmpc/$(PKG_VERSION)/
16PKG_MD5SUM:=2f1c99e12c69f7d95cfd1e27368056ed
17
18PKG_FIXUP:=libtool
19PKG_BUILD_PARALLEL:=1
20PKG_INSTALL:=1
21
22include $(INCLUDE_DIR)/package.mk
23include $(INCLUDE_DIR)/nls.mk
24
25TARGET_CFLAGS += $(FPIC)
26
27define Package/libmpd
28  SECTION:=libs
29  CATEGORY:=Libraries
30  DEPENDS:=+glib2
31  TITLE:=Libmpd is an a library to easily connect to a mpd server
32  URL:=http://gmpc.wikia.com/wiki/LIBMPD_RELEASES
33endef
34
35define Package/libmpd/description
36It's wraps around libmpdclient and provides a higher level api.
37endef
38
39define Build/InstallDev
40        $(INSTALL_DIR) $(1)/usr/include
41        $(CP) $(PKG_INSTALL_DIR)/usr/include/libmpd-1.0 $(1)/usr/include/
42        $(INSTALL_DIR) $(1)/usr/lib
43        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmpd.{a,so*} $(1)/usr/lib/
44        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
45        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmpd.pc $(1)/usr/lib/pkgconfig/
46endef
47
48define Package/libmpd/install
49        $(INSTALL_DIR) $(1)/usr/lib
50        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmpd.so.* $(1)/usr/lib/
51endef
52
53$(eval $(call BuildPackage,libmpd))
Note: See TracBrowser for help on using the repository browser.