summaryrefslogtreecommitdiff
blob: a23e2ea541f86ca15db69a8b963cb44914b78a53 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

KEYWORDS="-* ~amd64 ~x86"

MY_PV="v1.82_81103"

DESCRIPTION="Areca RaidCard CLI tools for amd64 and x86."
HOMEPAGE="http://www.areca.com.tw/support/main.htm"
SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/CLI/${MY_PV}.zip"
LICENSE="areca"
SLOT="0"
IUSE=""
RESTRICT="strip"

S="${WORKDIR}/${MY_PV/v/V}"

DEPEND="app-arch/unzip"
RDEPEND=""

src_install() {
	if use amd64 ; then
		newsbin "x86-64/cli64" "${PN}"
	elif use x86 ; then
		newsbin "i386/cli32" "${PN}"
	else
		eerror "Invalid ARCH, there are no Areca tools for you!"
	fi
}