OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # Copyright (C) 2009 Qi Hardware Inc. |
3 | # Author: Xiangfu Liu <xiangfu@qi-hardware.com> |
4 | # |
5 | # This is free software, licensed under the GNU General Public License v2. |
6 | # See /LICENSE for more information. |
7 | # |
8 | |
9 | include $(TOPDIR)/rules.mk |
10 | |
11 | PKG_NAME:=ncmpc |
12 | PKG_VERSION:=0.18 |
13 | PKG_RELEASE:=1 |
14 | |
15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
16 | PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/ |
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
18 | |
19 | include $(INCLUDE_DIR)/package.mk |
20 | include $(INCLUDE_DIR)/nls.mk |
21 | |
22 | TARGET_CFLAGS+= \ |
23 | -std=gnu99 |
24 | |
25 | TARGET_LDFLAGS+= \ |
26 | -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
27 | |
28 | define Package/ncmpc |
29 | MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc> |
30 | TITLE:=ncmpc |
31 | SECTION:=sound |
32 | CATEGORY:=Sound |
33 | DEPENDS:=+libncursesw $(ICONV_DEPENDS) $(INTL_DEPENDS) +libmpdclient |
34 | URL:=http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki |
35 | endef |
36 | |
37 | define Package/ncmpc/description |
38 | ncmpc is a curses client for the Music Player Daemon (MPD) |
39 | endef |
40 | |
41 | define Package/ncmpc/install |
42 | $(INSTALL_DIR) $(1)/usr/bin |
43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ncmpc $(1)/usr/bin/ |
44 | endef |
45 | |
46 | $(eval $(call BuildPackage,ncmpc)) |
47 |