OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | |
| 9 | include $(TOPDIR)/rules.mk |
| 10 | |
| 11 | PKG_NAME:=ncmpc |
| 12 | PKG_VERSION:=0.18 |
| 13 | |
| 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| 15 | PKG_SOURCE_URL:=http://downloads.sourceforge.net/musicpd/ |
| 16 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 17 | |
| 18 | include $(INCLUDE_DIR)/package.mk |
| 19 | |
| 20 | TARGET_CFLAGS+= \ |
| 21 | -I$(STAGING_DIR)/usr/lib/libintl/include \ |
| 22 | -I$(STAGING_DIR)/usr/libiconv/include |
| 23 | |
| 24 | TARGET_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 | |
| 29 | define 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 |
| 35 | endef |
| 36 | |
| 37 | define Package/ncmpc/description |
| 38 | ncmpc is a curses client for the Music Player Daemon (MPD) |
| 39 | endef |
| 40 | |
| 41 | define Package/ncmpc/install |
| 42 | $(INSTALL_DIR) $(1)/usr/bin |
| 43 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncmpc $(1)/usr/bin/ |
| 44 | endef |
| 45 | |
| 46 | $(eval $(call BuildPackage,ncmpc)) |
| 47 |
