900c54e1ae
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1257 6952d904-891a-0410-993b-d76249ca496b
60 lines
1.3 KiB
Bash
60 lines
1.3 KiB
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils linux-mod mercurial
|
|
|
|
DESCRIPTION="Standard tux3 filesystem"
|
|
HOMEPAGE="http://tux3.org/"
|
|
EHG_REPO_URI="http://hg.tux3.org/tux3/"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
DEPEND=""
|
|
|
|
S="${WORKDIR}/tux3/user/kernel"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
mercurial_src_unpack
|
|
}
|
|
|
|
pkg_setup()
|
|
{
|
|
linux-mod_pkg_setup
|
|
|
|
BUILD_TARGETS="all"
|
|
BUILD_PARAMS="KERNELDIR=${KV_OUT_DIR}"
|
|
MODULE_NAMES="tux3(fs:${S})"
|
|
|
|
if ! kernel_is gt 2 6 26; then
|
|
eerror "Need a >=2.6.27 kernel to compile against!"
|
|
die "Need a >=2.6.27 kernel to compile against!"
|
|
fi
|
|
}
|
|
|
|
src_install()
|
|
{
|
|
linux-mod_src_install
|
|
}
|
|
|
|
pkg_postinst() {
|
|
linux-mod_pkg_postinst
|
|
|
|
ewarn "WARNING: tux3 is under heavy development and is not suitable for"
|
|
ewarn " any uses other than benchmarking and review."
|
|
ewarn " The tux3 disk format is not yet finalized."
|
|
ewarn
|
|
ewarn " Also, it is highly recommended that the versions of"
|
|
ewarn " tux3 and tux3progs match."
|
|
ewarn
|
|
ewarn "Note: This version is installed from a live ebuild, so the disk"
|
|
ewarn " format can change from install to install as the upstream"
|
|
ewarn " source changes."
|
|
}
|