2010-01-30 23:29:11 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009-2010 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2009-12-07 16:48:21 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=dmapd
|
2010-10-07 17:04:57 +00:00
|
|
|
PKG_VERSION:=0.0.31
|
2010-04-20 19:43:15 +00:00
|
|
|
PKG_RELEASE:=1
|
2010-01-30 23:29:11 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
|
2010-10-07 17:04:57 +00:00
|
|
|
PKG_MD5SUM:=c7cdd8f88cce6e12e6e19710829809d3
|
2009-12-07 16:48:21 +00:00
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2010-01-30 23:29:11 +00:00
|
|
|
PKG_INSTALL:=1
|
2009-12-07 16:48:21 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/dmapd
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2010-10-07 17:04:57 +00:00
|
|
|
DEPENDS:=+libdmapsharing +gstreamer +vips
|
2009-12-07 16:48:21 +00:00
|
|
|
TITLE:= dmapd
|
|
|
|
URL:=http://www.flyn.org/projects/dmapd/
|
2010-09-11 18:38:42 +00:00
|
|
|
MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
2009-12-07 16:48:21 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/dmapd/decription
|
|
|
|
Dmapd is a DMAP server
|
|
|
|
endef
|
|
|
|
|
2010-01-30 23:29:11 +00:00
|
|
|
define Package/dmapd/conffiles
|
|
|
|
/etc/dmapd.conf
|
2009-12-07 16:48:21 +00:00
|
|
|
endef
|
|
|
|
|
2010-04-20 19:43:15 +00:00
|
|
|
TARGET_LDFLAGS+=\
|
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
|
|
|
2009-12-07 16:48:21 +00:00
|
|
|
define Package/dmapd/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2010-01-30 23:29:11 +00:00
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
|
2009-12-07 16:48:21 +00:00
|
|
|
$(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
|
2010-01-30 23:29:11 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
|
2009-12-07 16:48:21 +00:00
|
|
|
$(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 \
|
2010-01-30 23:29:11 +00:00
|
|
|
$(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
|
2009-12-07 16:48:21 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,dmapd))
|