2009-12-07 16:48:21 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=dmapd
|
2009-12-13 12:46:15 +00:00
|
|
|
PKG_VERSION:=0.0.19
|
2009-12-17 12:58:33 +00:00
|
|
|
PKG_RELEASE:=2
|
2009-12-07 16:48:21 +00:00
|
|
|
PKG_SOURCE:=dmapd-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd/
|
2009-12-13 12:46:15 +00:00
|
|
|
PKG_MD5SUM:=24ead9b689d569abd87fa055625a8356
|
2009-12-07 16:48:21 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/dmapd-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/dmapd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2009-12-17 12:58:33 +00:00
|
|
|
DEPENDS:=+libdmapsharing +GraphicsMagick +gstreamer +libexif
|
2009-12-07 16:48:21 +00:00
|
|
|
TITLE:= dmapd
|
|
|
|
URL:=http://www.flyn.org/projects/dmapd/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dmapd/decription
|
|
|
|
Dmapd is a DMAP server
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dmapd/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/dmapd \
|
|
|
|
$(1)/usr/sbin/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
|
|
|
|
$(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,dmapd))
|