Files
sablink-distro/sys-data/sabayon-version/sabayon-version-3.2.ebuild
T
lxnay a5f1324d0e add sabayon-version-3.2 ebuild
git-svn-id: http://svn.sabayonlinux.org/overlay@84 d7aec97c-591d-0410-af39-a8856400b30a
2006-10-17 12:35:20 +00:00

36 lines
788 B
Bash

# Copyright 2006 SabayonLinux
# Distributed under the terms of the GNU General Public License v2
inherit eutils versionator
DESCRIPTION="SabayonLinux Release version file"
HOMEPAGE="http://www.sabayonlinux.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="x86 x86_64 x86-mini x86_64-mini"
src_unpack () {
cd ${WORKDIR}
if use x86; then
cp ${FILESDIR}/sabayon-release-x86-${PV} sabayon-release -p
elif use x86_64; then
cp ${FILESDIR}/sabayon-release-x86_64-${PV} sabayon-release -p
elif use x86-mini; then
cp ${FILESDIR}/sabayon-release-x86mini-${PV} sabayon-release -p
elif use x86_64-mini; then
cp ${FILESDIR}/sabayon-release-x86_64mini-${PV} sabayon-release -p
fi
}
src_install () {
cd ${WORKDIR}
insinto /etc/
doins sabayon-release
}