source: packages/net/dmapd/Makefile @ 21058

Last change on this file since 21058 was 21058, checked in by nico, 6 years ago

[packages] dmapd: update to 0.0.23

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2009-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dmapd
11PKG_VERSION:=0.0.23
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
16PKG_MD5SUM:=50b0665c6626c3cb2572b43a9fe810ad
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/dmapd
24  SECTION:=net
25  CATEGORY:=Network
26  TITLE:= dmapd
27  URL:=http://www.flyn.org/projects/dmapd/
28  DEPENDS:=+libdmapsharing +GraphicsMagick +gstreamer +libexif
29endef
30
31define Package/dmapd/decription
32        Dmapd is a DMAP server
33endef
34
35define Package/dmapd/conffiles
36/etc/dmapd.conf
37endef
38
39TARGET_LDFLAGS+=\
40        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
41
42define Package/dmapd/install
43        $(INSTALL_DIR) $(1)/usr/sbin
44        $(INSTALL_DIR) $(1)/etc/init.d
45        $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
46        $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
47        $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
48        $(CP) \
49                $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
50                $(1)/usr/sbin/
51        $(CP) \
52                $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
53                $(1)/usr/lib/
54        $(CP) \
55                $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
56                $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
57endef
58
59$(eval $(call BuildPackage,dmapd))
Note: See TracBrowser for help on using the repository browser.