From 5174b4a5efcbd959fea33d51baa0a2e2e475da80 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 1 Jan 2007 21:00:47 +0000 Subject: [PATCH] Add shell-fm package (#1107) SVN-Revision: 5956 --- sound/shell-fm/Makefile | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 sound/shell-fm/Makefile diff --git a/sound/shell-fm/Makefile b/sound/shell-fm/Makefile new file mode 100644 index 0000000000..b203d43a84 --- /dev/null +++ b/sound/shell-fm/Makefile @@ -0,0 +1,52 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=shell-fm +PKG_VERSION:=0.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://nex.scrapping.cc/shell-fm/downloads +PKG_MD5SUM:=6ebbcf1af241a92a1237547fc39ca728 +PKG_CAT:=bzcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/shell-fm + SECTION:=sound + CATEGORY:=Sound + DEPENDS:=+libmad +openssl +readline +libncurses + TITLE:=Console Based Last.FM Radio Player + DESCRIPTION:=\ + Shell.FM is a console based player for the streams provided \\\ + by Last.FM for the Linux platform. It's lightweight and easy to use. + URL:=http://nex.scrapping.cc +endef + +define Build/Configure + $(PKG_BUILD_DIR)/reconfig + $(call Build/Configure/Default) +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install +endef + +define Package/shell-fm/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/shell-fm $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,shell-fm)) -- 2.30.2