Root/ncmpc/Makefile

Source at commit 4d84a5ebe5e6286a8d0771178d3567c484558d71 created 10 years 2 months ago.
By kyak, ncmpc: use ICONV notation
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
20include $(INCLUDE_DIR)/nls.mk
21
22TARGET_CFLAGS+= \
23    -std=gnu99
24
25TARGET_LDFLAGS+= \
26    -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
27
28define 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
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_BUILD_DIR)/src/ncmpc $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,ncmpc))
47

Archive Download this file



interactive