blob: 6a73df242dc09e5ff26439977a63d4ec3cb887b7 (
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
42
43
44
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.6 2012/06/30 16:03:20 hd_brummy Exp $
EAPI="4"
inherit eutils toolchain-funcs
MY_P=vdr-amarok-${PV}
DESCRIPTION="vdr to amarok gateway - allows vdr-amarok to access amarok"
HOMEPAGE="http://irimi.ir.ohost.de/"
SRC_URI="http://irimi.ir.ohost.de/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RDEPEND="media-sound/amarok"
S="${WORKDIR}/${MY_P#vdr-}/${PN}"
src_prepare() {
# Respect CC,CXXFLAGS, LDFLAGS
sed -i -e "/^CXX /s:?=.*:= $(tc-getCXX):" \
-e "/^CXXFLAGS/s:?=.*:= ${CFLAGS}:" \
-e "s:\$(CXXFLAGS):& \$(LDFLAGS) :" "${S}"/Makefile
cd "${WORKDIR}/${MY_P#vdr-}"
epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}/${P}_gcc-4.7.diff"
}
src_install() {
dobin ${PN}
dodoc README
newdoc ../README README.vdr-amarok
insinto /etc
doins ${PN}.conf
}
|