blob: c3533cb4d5ecb450b97c50522ef81a7b40a6a795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils toolchain-funcs
DESCRIPTION="Command line radio player for Last.fm"
HOMEPAGE="http://lizer.syslinx.org/shell-fm/"
SRC_URI="http://lizer.syslinx.org/shell-fm/releases/${P/-/.}.tar.bz2"
S=${WORKDIR}/${PN}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND=">=sys-libs/readline-4.3
>=media-libs/libmad-0.15
>=dev-libs/openssl-0.9"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile() {
# Just in case... It comes with a x86 precompiled binary!
rm -f ${PN}
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
dobin ${PN}
dodoc ${PN}.rc-example
}
pkg_postinst() {
elog "Sample config file has been installed into ${ROOT}usr/share/doc/${PF}"
}
|