Makefile (1651B)
1 # 2 # Copyright (C) 2009-2012 OpenWrt.org 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 # This Makefile is a skeleton 8 # 9 10 include $(TOPDIR)/rules.mk 11 12 PKG_NAME:=libdmapsharing 13 PKG_VERSION:=2.9.35 14 PKG_RELEASE:=1 15 16 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> 17 18 PKG_LICENSE:=LGPLv2.1 19 PKG_LICENSE_FILES:=COPYING 20 21 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz 22 PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/ 23 PKG_MD5SUM:=02008e1998646d0bb6ca45784133b748 24 25 PKG_FIXUP:=autoreconf 26 PKG_INSTALL:=1 27 28 include $(INCLUDE_DIR)/package.mk 29 include $(INCLUDE_DIR)/nls.mk 30 31 TARGET_LDFLAGS+= \ 32 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib 33 34 define Package/libdmapsharing 35 SECTION:=libs 36 CATEGORY:=Libraries 37 DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app 38 TITLE:=libdmapsharing 39 URL:=http://www.flyn.org/projects/libdmapsharing/ 40 endef 41 42 define Package/libdmapsharing/decription 43 Libdmapsharing is a DMAP library implementation in C 44 endef 45 46 CONFIGURE_ARGS += \ 47 --disable-introspection \ 48 --disable-gtk-doc 49 50 define Build/InstallDev 51 $(INSTALL_DIR) $(1)/usr/include/ 52 $(CP) \ 53 $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-3.0/ \ 54 $(1)/usr/include/ 55 $(INSTALL_DIR) $(1)/usr/lib/ 56 $(CP) \ 57 $(PKG_INSTALL_DIR)/usr/lib/*.so* \ 58 $(1)/usr/lib/ 59 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ 60 $(INSTALL_DATA) \ 61 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ 62 $(1)/usr/lib/pkgconfig/ 63 endef 64 65 define Package/libdmapsharing/install 66 $(INSTALL_DIR) $(1)/usr/lib/ 67 $(CP) \ 68 $(PKG_INSTALL_DIR)/usr/lib/*.so* \ 69 $(1)/usr/lib/ 70 endef 71 72 $(eval $(call BuildPackage,libdmapsharing))