mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 19:13:44 +02:00
new pakcage: mediatomb, open source UPnP MediaServer
This commit is contained in:
parent
fba3cca4ec
commit
47496a7e02
39
mediatomb/Makefile
Normal file
39
mediatomb/Makefile
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=mediatomb
|
||||||
|
PKG_VERSION:=0.11.0-r2
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-static-$(PKG_VERSION)-linux-uclibc-mips32el.tar.gz
|
||||||
|
PKG_SOURCE_URL:=http://downloads.sourceforge.net/mediatomb/
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/mediatomb
|
||||||
|
TITLE:=mediatomb
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
DEPNEDS:=
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/mediatomb/description
|
||||||
|
open source (GPL) UPnP MediaServer
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/mediatomb/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
echo -e "\0043\0041/bin/sh\ncd /usr/share/mediatomb/ && ./mediatomb.sh" > $(1)/usr/bin/mediatomb
|
||||||
|
chmod +x $(1)/usr/bin/mediatomb
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/mediatomb
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/mediatomb.sh \
|
||||||
|
$(PKG_BUILD_DIR)/readme.txt $(PKG_BUILD_DIR)/usr \
|
||||||
|
$(1)/usr/share/mediatomb/
|
||||||
|
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,mediatomb))
|
Loading…
Reference in New Issue
Block a user