source: packages/net/dmapd/Makefile @ 26421

Last change on this file since 26421 was 26421, checked in by flyn, 5 years ago

Update dmapd and libdmapsharing to new upstream versions; use BDB module by default

File size: 1.4 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.40
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
16PKG_MD5SUM:=3136c584c2ae8109df4aab5090d06dd9
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/dmapd
25  SECTION:=net
26  CATEGORY:=Network
27  DEPENDS:=+libdmapsharing +db47 +vips
28  TITLE:= dmapd
29  URL:=http://www.flyn.org/projects/dmapd/
30  MAINTAINER:=W. Michael Petullo <mike@flyn.org>
31endef
32
33define Package/dmapd/decription
34        Dmapd is a DMAP server
35endef
36
37define Package/dmapd/conffiles
38/etc/dmapd.conf
39endef
40
41TARGET_LDFLAGS+=\
42        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
43
44define Package/dmapd/install
45        $(INSTALL_DIR) $(1)/usr/sbin
46        $(INSTALL_DIR) $(1)/etc/init.d
47        $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
48        $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
49        $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
50        $(CP) \
51                $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
52                $(1)/usr/sbin/
53        $(CP) \
54                $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
55                $(1)/usr/lib/
56        $(CP) \
57                $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
58                $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
59endef
60
61$(eval $(call BuildPackage,dmapd))
Note: See TracBrowser for help on using the repository browser.