|
@@ -0,0 +1,61 @@
|
|
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
|
+
|
|
8
|
+include $(TOPDIR)/rules.mk
|
|
9
|
+
|
|
10
|
+PKG_NAME:=dmapd
|
|
11
|
+PKG_VERSION:=0.0.50
|
|
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:=2e04d7fb8437f9e7bd370dc3af450aae
|
|
17
|
+
|
|
18
|
+PKG_FIXUP:=autoreconf
|
|
19
|
+PKG_INSTALL:=2
|
|
20
|
+
|
|
21
|
+include $(INCLUDE_DIR)/package.mk
|
|
22
|
+include $(INCLUDE_DIR)/nls.mk
|
|
23
|
+
|
|
24
|
+define Package/dmapd
|
|
25
|
+ SECTION:=net
|
|
26
|
+ CATEGORY:=Network
|
|
27
|
+ DEPENDS:=+libdmapsharing +libdb47 +vips +GraphicsMagick
|
|
28
|
+ TITLE:= dmapd
|
|
29
|
+ URL:=http://www.flyn.org/projects/dmapd/
|
|
30
|
+ MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
31
|
+endef
|
|
32
|
+
|
|
33
|
+define Package/dmapd/decription
|
|
34
|
+ Dmapd is a DMAP server
|
|
35
|
+endef
|
|
36
|
+
|
|
37
|
+define Package/dmapd/conffiles
|
|
38
|
+/etc/dmapd.conf
|
|
39
|
+endef
|
|
40
|
+
|
|
41
|
+TARGET_LDFLAGS+=\
|
|
42
|
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
43
|
+
|
|
44
|
+define Package/dmapd/install
|
|
45
|
+ $(INSTALL_DIR) $(1)/usr/sbin
|
|
46
|
+ $(INSTALL_DIR) $(1)/etc/init.d
|
|
47
|
+ $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
|
|
48
|
+ $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
|
|
49
|
+ $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
|
|
50
|
+ $(CP) \
|
|
51
|
+ $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
|
|
52
|
+ $(1)/usr/sbin/
|
|
53
|
+ $(CP) \
|
|
54
|
+ $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
|
|
55
|
+ $(1)/usr/lib/
|
|
56
|
+ $(CP) \
|
|
57
|
+ $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
|
|
58
|
+ $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
|
|
59
|
+endef
|
|
60
|
+
|
|
61
|
+$(eval $(call BuildPackage,dmapd))
|