Root/ncmpc/Makefile

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
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=ncmpc
12PKG_VERSION:=0.18
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/
16PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
17
18include $(INCLUDE_DIR)/package.mk
19
20TARGET_CFLAGS+= \
21    -I$(STAGING_DIR)/usr/lib/libintl/include \
22    -I$(STAGING_DIR)/usr/libiconv/include
23
24TARGET_LDFLAGS+= \
25    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
26    -L$(STAGING_DIR)/usr/lib/libintl/lib \
27    -L$(STAGING_DIR)/usr/lib/libiconv/lib
28
29define Package/ncmpc
30    TITLE:=ncmpc
31    SECTION:=sound
32    CATEGORY:=Sound
33    DEPENDS:=+libncurses +libintl +libiconv @BROKEN
34    URL:=http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
35endef
36
37define Package/ncmpc/description
38    ncmpc is a curses client for the Music Player Daemon (MPD)
39endef
40
41define Package/ncmpc/install
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncmpc $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,ncmpc))
47

Archive Download this file



interactive