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.

67 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.83
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  12. PKG_LICENSE:=GPL-2.0-or-later
  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:=ab372ff217d2a74a33d62098fe501da663e5dded0df67e2c2c83d968fa9ac7b9
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. define Package/dmapd
  23. SECTION:=net
  24. CATEGORY:=Network
  25. DEPENDS:=+libdmapsharing +libdb47 +vips +libgst1pbutils
  26. TITLE:= dmapd
  27. URL:=http://www.flyn.org/projects/dmapd/
  28. USERID:=dmapd=56:dmapd=56
  29. endef
  30. define Package/dmapd/description
  31. Dmapd is a DMAP server
  32. endef
  33. CONFIGURE_ARGS += \
  34. --disable-check
  35. define Package/dmapd/conffiles
  36. /etc/dmapd.conf
  37. endef
  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. $(eval $(call BuildPackage,dmapd))