Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 335087
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +31 lines)
Line  Link Here
0
-- xboxgw-1.082.ebuild
0
++ xboxgw-1.082.ebuild
Lines 1-9 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/games-util/xboxgw/xboxgw-1.082.ebuild,v 1.5 2007/12/05 04:12:52 mr_bones_ Exp $
3
# $Header: /var/cvsroot/gentoo-x86/games-util/xboxgw/xboxgw-1.082.ebuild,v 1.5 2007/12/05 04:12:52 mr_bones_ Exp $
4
4
5
EAPI=4
6
5
XBOXGW_P="${PN}-1.08-2"
7
XBOXGW_P="${PN}-1.08-2"
6
HMLIBS_P="hmlibs-1.07-2"
8
HMLIBS_P="hmlibs-1.07-2"
9
7
DESCRIPTION="Tunnels XBox system link games over the net"
10
DESCRIPTION="Tunnels XBox system link games over the net"
8
HOMEPAGE="http://www.xboxgw.com/"
11
HOMEPAGE="http://www.xboxgw.com/"
9
SRC_URI="http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${XBOXGW_P}.tgz
12
SRC_URI="http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${XBOXGW_P}.tgz
Lines 14-29 Link Here
14
KEYWORDS="~amd64 x86"
17
KEYWORDS="~amd64 x86"
15
IUSE=""
18
IUSE=""
16
19
20
QA_TEXTRELS="opt/${PN}/lib/libhmdb.so
21
	opt/${PN}/lib/libhmsched.so
22
	opt/${PN}/lib/libhmcli.so
23
	opt/${PN}/lib/libhmsdb.so"
24
25
QA_DT_HASH="opt/${PN}/lib/libhmdb.so
26
	opt/${PN}/lib/libhmsched.so
27
	opt/${PN}/lib/libhmcli.so
28
	opt/${PN}/lib/libhmsdb.so
29
	opt/${PN}/bin/hmdbdump
30
	opt/${PN}/bin/xboxgw
31
	opt/${PN}/bin/xbifsetup"
32
17
S=${WORKDIR}
33
S=${WORKDIR}
18
34
35
src_prepare() {
36
	echo "LDPATH=/opt/${PN}/lib" > "${T}"/99${PN}
37
}
38
19
src_install() {
39
src_install() {
40
	into /opt/${PN}
41
20
	cd "${WORKDIR}/${HMLIBS_P}"
42
	cd "${WORKDIR}/${HMLIBS_P}"
21
	dolib.so *.so || die
43
	dolib.so *.so
22
	dobin hmdbdump || die
44
	dobin hmdbdump
23
	insinto /usr/include/hmlibs
45
	insinto /usr/include/hmlibs
24
	doins *.h || die
46
	doins *.h
25
47
26
	cd "${WORKDIR}/${XBOXGW_P}"
48
	cd "${WORKDIR}/${XBOXGW_P}"
27
	dobin xboxgw xbifsetup || die
49
	dobin xboxgw xbifsetup
28
	dodoc *.txt
50
	dodoc *.txt
51
52
	use amd64 && mv "${D}"/opt/${PN}/lib64 "${D}"/opt/${PN}/lib || die "lib move failed"
53
	doenvd "${T}"/99${PN}
29
}
54
}

Return to bug 335087