[packages] coova-chilli: revert accidential downbgrade in last commit
[openwrt/svn-archive/archive.git] / net / dmapd / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dmapd
11 PKG_VERSION:=0.0.21
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
16 PKG_MD5SUM:=f9ce3f4222dc7918257d3a4e53b7a462
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/dmapd
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libdmapsharing +GraphicsMagick +gstreamer +libexif
26 TITLE:= dmapd
27 URL:=http://www.flyn.org/projects/dmapd/
28 endef
29
30 define Package/dmapd/decription
31 Dmapd is a DMAP server
32 endef
33
34 define Package/dmapd/conffiles
35 /etc/dmapd.conf
36 endef
37
38 define Package/dmapd/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_DIR) $(1)/etc/init.d
41 $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
42 $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
43 $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
44 $(CP) \
45 $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
46 $(1)/usr/sbin/
47 $(CP) \
48 $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
49 $(1)/usr/lib/
50 $(CP) \
51 $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
52 $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
53 endef
54
55 $(eval $(call BuildPackage,dmapd))