2009-05-17 22:25:26 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit flag-o-matic eutils mercurial
|
|
|
|
|
|
|
|
DESCRIPTION="Standard tux3 filesystem utilities"
|
|
|
|
HOMEPAGE="http://tux3.org/"
|
|
|
|
EHG_REPO_URI="http://hg.tux3.org/tux3/"
|
|
|
|
|
2009-05-17 22:43:37 +02:00
|
|
|
LICENSE="GPL-3"
|
2009-05-17 22:25:26 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
2009-05-17 22:43:37 +02:00
|
|
|
RDEPEND="sys-fs/fuse"
|
2009-05-17 22:25:26 +02:00
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
S="${WORKDIR}/tux3/user"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/tux3-dist-packager-1.patch
|
|
|
|
epatch "${FILESDIR}"/tux3-gcc44-1.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
2009-05-17 22:44:34 +02:00
|
|
|
emake CC="$(tc-getCC)" UCLFAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "build failed"
|
2009-05-17 22:25:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DISTDIR="${D}" SBINDIR="/usr/sbin" LIBEXECDIR="/usr/libexec/tux3" install || die "install failed"
|
|
|
|
}
|