termux-packages/packages/cmus/build.sh

20 lines
665 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://cmus.github.io/
TERMUX_PKG_DESCRIPTION="Small, fast and powerful console music player"
2019-01-20 22:39:59 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-01-17 12:46:12 +01:00
TERMUX_PKG_VERSION=2.9.0
TERMUX_PKG_DEPENDS="libandroid-support, libiconv, ncurses, pulseaudio, ffmpeg, libmad, opusfile, libflac, libvorbis"
2021-01-17 12:46:12 +01:00
TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e7ea7f5ec52b991cf378a9caf19e479be16a165a5b26adca058de711e72ad2a0
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
LD=$CC
2019-05-17 21:46:57 +02:00
export CUE_LIBS=" -lm"
export CONFIG_OSS=n
}
termux_step_configure() {
./configure prefix=$TERMUX_PREFIX
}