diff options
Diffstat (limited to 'sys-block/areca-http/areca-http-1.81.250_p70306.ebuild')
-rw-r--r-- | sys-block/areca-http/areca-http-1.81.250_p70306.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-block/areca-http/areca-http-1.81.250_p70306.ebuild b/sys-block/areca-http/areca-http-1.81.250_p70306.ebuild new file mode 100644 index 0000000..6d40a09 --- /dev/null +++ b/sys-block/areca-http/areca-http-1.81.250_p70306.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PV=${PV/_p/_}; MY_PV=${MY_PV/a_/A_} +if [[ ${MY_PV/_beta} != ${MY_PV} ]]; then + MY_PV=${MY_PV/_beta} + MY_SRC_URI_PATH="Beta/" +else + MY_SRC_URI_PATH="" +fi +DESCRIPTION="areca RAID Controller web management daemon" +HOMEPAGE="http://www.areca.com.tw/" +SRC_URI="ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/${MY_SRC_URI_PATH}V${MY_PV}.zip" + +LICENSE="as-is" +SLOT="0" +# This package can never enter stable, it can't be mirrored and upstream +# can remove the distfiles from their mirror anytime. +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" + +RESTRICT="strip mirror test" + +S="${WORKDIR}/V${MY_PV}" + +src_compile() { + echo "Nothing to compile." +} + +src_install() { + exeinto /opt/areca/http + case ${ARCH} in + amd64) http=x86_64/archttp64;; + x86) http=i386/archttp32;; + *) die "invalid ARCH";; + esac + doexe ${http} + dosym /opt/areca/http/${http##*/} /usr/sbin/areca-http +} |