1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-14 08:54:39 +02:00
openwrt-packages/mediatomb/Makefile

41 lines
972 B
Makefile
Raw Normal View History

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
2011-01-17 05:39:00 +02:00
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
TITLE:=mediatomb
SECTION:=utils
CATEGORY:=Utilities
2011-01-20 14:50:38 +02:00
DEPENDS:=
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
2011-01-17 05:39:00 +02:00
$(eval $(call BuildPackage,mediatomb))