This commit is contained in:
Mario Fetka
2012-11-14 21:53:11 +01:00
parent 35be7829a3
commit c06aee3ed6
7 changed files with 22 additions and 28 deletions

View File

@@ -2,11 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils linux-mod mercurial
inherit eutils linux-mod git-2
DESCRIPTION="Standard tux3 filesystem"
HOMEPAGE="http://tux3.org/"
EHG_REPO_URI="http://hg.tux3.org/tux3/"
EGIT_REPO_URI="git://github.com/OGAWAHirofumi/tux3.git"
EGIT_BRANCH="temp-atomic-commit"
LICENSE="GPL-3"
SLOT="0"
@@ -16,21 +17,13 @@ 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})"
MODULE_NAMES="tux3(fs:${S}/user/kernel)"
if ! kernel_is gt 2 6 26; then
eerror "Need a >=2.6.27 kernel to compile against!"