1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 17:45:32 +02:00

Fix ncmpc compilation

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
This commit is contained in:
Yauhen Kharuzhy 2010-11-21 19:58:29 +02:00 committed by Xiangfu Liu
parent 5e68f891bf
commit 70138e98b4

View File

@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ncmpc
PKG_VERSION:=0.18
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/
@ -19,7 +20,8 @@ include $(INCLUDE_DIR)/package.mk
TARGET_CFLAGS+= \
-I$(STAGING_DIR)/usr/lib/libintl/include \
-I$(STAGING_DIR)/usr/libiconv/include
-I$(STAGING_DIR)/usr/libiconv/include \
-std=gnu99
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
@ -30,7 +32,7 @@ define Package/ncmpc
TITLE:=ncmpc
SECTION:=sound
CATEGORY:=Sound
DEPENDS:=+libncurses +libintl +libiconv @BROKEN
DEPENDS:=+libncurses +libintl +libiconv +libmpdclient
URL:=http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
endef
@ -40,7 +42,7 @@ endef
define Package/ncmpc/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncmpc $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ncmpc $(1)/usr/bin/
endef
$(eval $(call BuildPackage,ncmpc))