# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 MY_P="samsung_${PN/-/_}-v${PV/_/_rtm_}" DESCRIPTION="Samsung SSD Magician DC software is designed to help users with easy-to-use disk management and diagnostic features for server and data center usage" HOMEPAGE="http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/support/server_downloads.html" SRC_URI="http://www.samsung.com/global/business/semiconductor/minisite/SSD/downloads/software/${MY_P}.tar.gz" LICENSE="Samsung-Magician-EULA" SLOT="0" KEYWORDS="~x86 ~amd64" DEPEND="" RDEPEND="sys-libs/glibc" RESTRICT="mirror bindist" S="${WORKDIR}/${MY_P}" src_install() { if use amd64; then cd "${S}"/64bin/ else cd "${S}"/32bin/ fi exeinto /usr/bin doexe magician }