# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit eutils DESCRIPTION="This is a sample skeleton ebuild file" HOMEPAGE="http://foo.example.org/" SRC_URI="amd64? ( https://github.com/downloads/AVbin/AVbin/avbin-linux-x86-64-7.tar.gz ) x86? ( https://github.com/downloads/AVbin/AVbin/avbin-linux-x86-32-7.tar.gz )" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="strip" DEPEND="app-arch/gzip" if use amd64; then S=${WORKDIR}/avbin-linux-x86-64-${PV} else S=${WORKDIR}/avbin-linux-x86-32-${PV} fi src_install() { dolib.so libavbin.so.7 dosym libavbin.so.7 ${EPREFIX}/usr/lib/libavbin.so }