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
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/shell-fm
27 DEPENDS
:=+libmad
+libopenssl
+libreadline
+libncurses
28 TITLE
:=Console Based Last.FM Radio Player
29 URL
:=http
://nex.scrapping.
cc
32 define Package
/shell-fm
/description
33 Shell.FM is a console based player for the streams provided
34 by Last.FM for the Linux platform. It
's lightweight and easy to use.
37 define Package/shell-fm/conffiles
41 define Build/Configure
42 $(PKG_BUILD_DIR)/reconfig
43 $(call Build/Configure/Default, --disable-ao)
47 $(MAKE) -C $(PKG_BUILD_DIR) \
48 DESTDIR="$(PKG_INSTALL_DIR)" \
52 define Package/shell-fm/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/shell-fm $(1)/usr/bin/
55 $(INSTALL_DIR) $(1)/etc
56 $(INSTALL_DATA) ./files/shell-fm.rc $(1)/etc/shell-fm.rc
57 $(INSTALL_DIR) $(1)/etc/init.d
58 $(INSTALL_BIN) ./files/shell-fm.init $(1)/etc/init.d/shell-fm
61 $(eval $(call BuildPackage,shell-fm))