You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.5 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dmapd
  9. PKG_VERSION:=0.0.81
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  12. PKG_LICENSE:=GPLv2
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=https://www.flyn.org/projects/dmapd
  16. PKG_HASH:=74b56417eaed4fa6cd3b47465819f1f83caffc621b5da302d3c90e58bfb2a932
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. define Package/dmapd
  22. SECTION:=net
  23. CATEGORY:=Network
  24. DEPENDS:=+libdmapsharing +libdb47 +vips +libgst1pbutils
  25. TITLE:= dmapd
  26. URL:=http://www.flyn.org/projects/dmapd/
  27. USERID:=dmapd=56:dmapd=56
  28. endef
  29. define Package/dmapd/decription
  30. Dmapd is a DMAP server
  31. endef
  32. define Package/dmapd/conffiles
  33. /etc/dmapd.conf
  34. endef
  35. define Package/dmapd/install
  36. $(INSTALL_DIR) $(1)/usr/sbin
  37. $(INSTALL_DIR) $(1)/etc/init.d
  38. $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
  39. $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
  40. $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
  41. $(CP) \
  42. $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
  43. $(1)/usr/sbin/
  44. $(CP) \
  45. $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
  46. $(1)/usr/lib/
  47. $(CP) \
  48. $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
  49. $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
  50. endef
  51. $(eval $(call BuildPackage,dmapd))