[Buildroot] How I can add a package of cmus?

정성봉 devbon at naver.com
Fri Aug 19 14:21:58 UTC 2016


I want to add cmus(ncurse based cui music player) package to my buildroot. But, I'm a lemon. I am struggling to write. Would you help me some?  
 
################################################################################
#
# cmus
#
################################################################################


CMUS_VERSION = 2.7.1
CMUS_SOURCE = v$(CMUS_VERSION).tar.gz
CMUS_SITE = https://github.com/cmus/cmus/archive
CMUS_DEPENDENCIES  = host-pkgconf
CMUS_INSTALL_STAGING = YES

define CMUS_CONFIGURE_CMDS
        (cd $(@D); \
                PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
                PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
                PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
                PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
        ./configure \
                prefix="$(STAGING_DIR)/usr"  \
                         )
endef

define CMUS_BUILD_CMDS
          $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all
endef

$(eval $(generic-package))
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160819/b717079f/attachment.html>


More information about the buildroot mailing list