2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://nex.scrapping.
cc/shell-fm
/downloads
17 PKG_MD5SUM
:=6ebbcf1af241a92a1237547fc39ca728
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/shell-fm
28 DEPENDS
:=+libmad
+libopenssl
+libreadline
+libncurses
29 TITLE
:=Console Based Last.FM Radio Player
31 Shell.FM is a console based player for the streams provided
\\\
32 by Last.FM for the Linux platform. It
's lightweight and easy to use.
33 URL:=http://nex.scrapping.cc
36 define Build/Configure
37 $(PKG_BUILD_DIR)/reconfig
38 $(call Build/Configure/Default)
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 DESTDIR="$(PKG_INSTALL_DIR)" \
47 define Package/shell-fm/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(CP) $(PKG_INSTALL_DIR)/usr/bin/shell-fm $(1)/usr/bin/
52 $(eval $(call BuildPackage,shell-fm))