summaryrefslogtreecommitdiff
blob: d5289c29f4496f6fe776ad6f3b1abb61772c67bc (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/soulseek-qt/soulseek-qt-20130310.ebuild,v 1.1 2013/03/17 21:12:09 zx2c4 Exp $

EAPI=5

DESCRIPTION="Official binary Qt SoulSeek client."
HOMEPAGE="http://www.soulseekqt.net/"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BINARY_NAME="SoulseekQt-${PV:0:4}-$((${PV:4:2}))-$((${PV:6:2}))"
BASE_URI="http://www.soulseekqt.net/SoulseekQT/Linux/${BINARY_NAME}"
IUSE=""
SRC_URI="
	x86? ( ${BASE_URI}.tgz )
	amd64? ( ${BASE_URI}-64bit.tgz )
	"
DEPEND=""
RDEPEND="dev-qt/qtgui:4
	dev-qt/qtcore:4"
RESTRICT="mirror"
S="${WORKDIR}"

src_install() {
	exeinto /usr/bin
	use amd64 && BINARY_NAME="${BINARY_NAME}-64bit"
	newexe "${BINARY_NAME}" "${PN}"
}