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

Archive Download this file



interactive