1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 10:54:03 +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_NAME:=ncmpc
PKG_VERSION:=0.18 PKG_VERSION:=0.18
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/ PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/
@ -19,7 +20,8 @@ include $(INCLUDE_DIR)/package.mk
TARGET_CFLAGS+= \ TARGET_CFLAGS+= \
-I$(STAGING_DIR)/usr/lib/libintl/include \ -I$(STAGING_DIR)/usr/lib/libintl/include \
-I$(STAGING_DIR)/usr/libiconv/include -I$(STAGING_DIR)/usr/libiconv/include \
-std=gnu99
TARGET_LDFLAGS+= \ TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
@ -30,7 +32,7 @@ define Package/ncmpc
TITLE:=ncmpc TITLE:=ncmpc
SECTION:=sound SECTION:=sound
CATEGORY:=Sound CATEGORY:=Sound
DEPENDS:=+libncurses +libintl +libiconv @BROKEN DEPENDS:=+libncurses +libintl +libiconv +libmpdclient
URL:=http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki URL:=http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
endef endef
@ -40,7 +42,7 @@ endef
define Package/ncmpc/install define Package/ncmpc/install
$(INSTALL_DIR) $(1)/usr/bin $(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 endef
$(eval $(call BuildPackage,ncmpc)) $(eval $(call BuildPackage,ncmpc))