barthalion / moonrise

Bleeding edge, experimental overlay for Gentoo.

Home Page:http://github.com/Barthalion/moonrise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

febootstrap

Torrentow opened this issue · comments

Hi, i wrote ebuild and must have symlink ln -s /sbin/insmod /sbin/insmod.static i don't known to do it in ebuild.
ebuild:
$ cat /usr/local/portage/dev-util/febootstrap/febootstrap-3.4.ebuild

Copyright 1999-2010 Gentoo Foundation

Distributed under the terms of the GNU General Public License v2

$Header: $

EAPI="3"

inherit eutils autotools

DESCRIPTION="Fedora bootstrap scripts"
HOMEPAGE="http://people.redhat.com/~rjones/febootstrap/"
SRC_URI="http://people.redhat.com/~rjones/febootstrap/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-lang/ocaml[ocamlopt]
dev-ml/findlib
dev-lang/perl
=app-arch/rpm-4*
>=sys-apps/yum-3.2.21
sys-fs/e2fsprogs
sys-libs/e2fsprogs-libs
=sys-apps/module-init-tools-3.5"

Spanki bug

DEPEND="${RDEPEND}"

src_prepare() {
eautoreconf
}

src_install() {
emake DESTDIR="${ED}" install || die "emake install failed"
}

Yo dawg I heard you like $ED but (for every EAPI) in emake DESTDIR it should be emake DESTDIR="${D}".
By the way unfortunately this comment has been ugly formatted (header and so on)…

Use Gist or correct Markdown.

I'd say it shall be in src_install. You shall put it to the package.

done pal.