[packages] normalize PKG_FIXUP - the "libtool" fixup is merely an alias for "autoreco...
[openwrt/svn-archive/archive.git] / libs / libdmapsharing / Makefile
1 #
2 # Copyright (C) 2009-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 # This Makefile is a skeleton
8 #
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_NAME:=libdmapsharing
13 PKG_VERSION:=2.9.13
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
18 PKG_MD5SUM:=05aa705af3550107e7801b58735777ae
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/libdmapsharing-$(PKG_VERSION)
21
22 PKG_FIXUP:=autoreconf
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/nls.mk
27
28 TARGET_LDFLAGS+= \
29 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
30
31 define Package/libdmapsharing
32 SECTION:=libs
33 CATEGORY:=Libraries
34 DEPENDS:=+libsoup +mdnsresponder +gstreamer +gst-plugins-base
35 TITLE:=libdmapsharing
36 URL:=http://www.flyn.org/projects/libdmapsharing/
37 MAINTAINER:=W. Michael Petullo <mike@flyn.org>
38 endef
39
40 define Package/libdmapsharing/decription
41 Libdmapsharing is a DMAP library implementation in C
42 endef
43
44 define Build/InstallDev
45 $(INSTALL_DIR) $(1)/usr/include/
46 $(CP) \
47 $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-3.0/ \
48 $(1)/usr/include/
49 $(INSTALL_DIR) $(1)/usr/lib/
50 $(CP) \
51 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
52 $(1)/usr/lib/
53 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
54 $(INSTALL_DATA) \
55 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
56 $(1)/usr/lib/pkgconfig/
57 endef
58
59 define Package/libdmapsharing/install
60 $(INSTALL_DIR) $(1)/usr/lib/
61 $(CP) \
62 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
63 $(1)/usr/lib/
64 endef
65
66 $(eval $(call BuildPackage,libdmapsharing))