forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xboxgw-1.082.ebuild
47 lines (37 loc) · 977 Bytes
/
xboxgw-1.082.ebuild
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
45
46
47
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
XBOXGW_P="${PN}-1.08-2"
HMLIBS_P="hmlibs-1.07-2"
DESCRIPTION="Tunnels XBox system link games over the net"
HOMEPAGE="http://www.xboxgw.com/"
SRC_URI="http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${XBOXGW_P}.tgz
http://www.xboxgw.com/rel/dist2.1/tarballs/i386/${HMLIBS_P}.i386.tgz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
QA_PREBUILT="opt/${PN}/lib/libhmdb.so
opt/${PN}/lib/libhmsched.so
opt/${PN}/lib/libhmcli.so
opt/${PN}/lib/libhmsdb.so
opt/${PN}/bin/hmdbdump
opt/${PN}/bin/xboxgw
opt/${PN}/bin/xbifsetup"
S=${WORKDIR}
src_install() {
into /opt/${PN}
cd "${WORKDIR}/${HMLIBS_P}"
dolib.so *.so
dobin hmdbdump
insinto /usr/include/hmlibs
doins *.h
cd "${WORKDIR}/${XBOXGW_P}"
dobin xboxgw xbifsetup
dodoc *.txt
if use amd64 ; then
mv "${D}"/opt/${PN}/lib64 "${D}"/opt/${PN}/lib || die
fi
}