source: packages/multimedia/gmediaserver/Makefile @ 26107

Last change on this file since 26107 was 26107, checked in by cshore, 6 years ago

[net] [multimedia]: Moved multimedia submenu to be part the the Multimedia package group, since that's what it's for.

  • Property copyright set to Copyright (C) 2007 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1#
2# Copyright (C) 2007 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:=gmediaserver
11PKG_VERSION:=0.13.0
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://savannah.nongnu.org/download/gmediaserver/
16PKG_MD5SUM:=c422de386331e2a1a859d45f6fa270a3
17
18PKG_INSTALL:=1
19PKG_BUILD_PARALLEL:=1
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/gmediaserver
25  SECTION:=multimedia
26  CATEGORY:=Multimedia
27  DEPENDS:=+id3lib +libmagic +file +libupnp +libuuid +uclibcxx +zlib $(ICONV_DEPENDS)
28  TITLE:=An UPnP music media server
29  URL:=http://www.nongnu.org/gmediaserver/
30endef
31
32define Package/gmediaserver/description
33 GMediaServer is a server for UPnP media players like the
34 Netgear MP101, Linksys WMLS11B etc. It exports one or more
35 directories using the UPnP protocol so the mediaserver can
36 browse through them and play audio or video files.
37endef
38
39CONFIGURE_ARGS += \
40        --disable-rpath \
41        --enable-threads=posix \
42        --with-libiconv-prefix="$(ICONV_PREFIX)" \
43        --without-libintl-prefix \
44        --with-id3lib="$(STAGING_DIR)/usr" \
45        --with-libupnp="$(STAGING_DIR)/usr" \
46        , \
47        LIBS=" -luClibc++ -lz" \
48
49MAKE_FLAGS += \
50        AR="$(TARGET_CROSS)ar" \
51        LTLIBICONV="" \
52        DESTDIR="$(PKG_INSTALL_DIR)"
53
54define Package/gmediaserver/install
55        $(INSTALL_DIR) $(1)/usr/sbin
56        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/sbin/
57        $(INSTALL_DIR) $(1)/etc/config
58        $(INSTALL_DATA) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
59        $(INSTALL_DIR) $(1)/etc/init.d
60        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
61endef
62
63$(eval $(call BuildPackage,gmediaserver))
Note: See TracBrowser for help on using the repository browser.