You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
764 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Live Source Client For IceCast"
HOMEPAGE="http://star.arm.ac.uk/~spm/software/liveice.html"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 x86"
RDEPEND="media-sound/lame
media-sound/mpg123"
DEPEND=""
S=${WORKDIR}/${PN}
src_prepare() {
default
# cannot use LDFLAGS directly as the Makefile uses it for LIBS
sed -i Makefile.in \
-e 's|-o liveice|$(LLFLAGS) &|' \
|| die "sed Makefile.in"
tc-export CC
}
src_compile() {
emake LLFLAGS="${LDFLAGS}"
}
src_install() {
dobin liveice
dodoc liveice.cfg README.liveice README.quickstart README_new_mixer.txt Changes.txt
}