diff options
Diffstat (limited to 'sys-apps/mindi/mindi-0.86.ebuild')
-rw-r--r-- | sys-apps/mindi/mindi-0.86.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/mindi/mindi-0.86.ebuild b/sys-apps/mindi/mindi-0.86.ebuild new file mode 100644 index 000000000000..35d467dc9d2e --- /dev/null +++ b/sys-apps/mindi/mindi-0.86.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mindi/mindi-0.86.ebuild,v 1.1 2003/09/02 10:12:39 aliz Exp $ + +DESCRIPTION="Mindi builds boot/root disk images using your existing kernel, modules, tools and libraries" +HOMEPAGE="http://www.microwerks.net/~hugo/mindi/" +SRC_URI="http://www.microwerks.net/~hugo/download/stable/final/${P}.tgz" +RESTRICT="nouserpriv" + + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +RESTRICT="nouserpriv" + +DEPEND=">=sys-apps/bzip2-1.0.1 + >=app-cdr/cdrtools-1.11 + >=sys-libs/ncurses-5 + >=sys-devel/binutils-2 + >=sys-apps/syslinux-1.7 + >=sys-apps/lilo-22 + >=app-admin/dosfstools-2.8 + >=sys-apps/mindi-kernel-1*" + +src_unpack() { + for i in ${FEATURES} ; do + if [ "${i}" = "userpriv" ] ; then + echo + ewarn "mindi cannot be installed if userpriv" + ewarn "is set within FEATURES." + ewarn "Please emerge mindi as follows:" + echo + ewarn "# FEATURES=\"-userpriv\" emerge mindi" + die "userpriv failure" + fi + done + unpack ${A} ; cd ${S} + epatch ${FILESDIR}/${P}-security.patch +} + +src_install() { + dodir /usr/share/mindi + dodir /usr/sbin + cp * --parents -rdf ${D}/usr/share/mindi/ + rm ${D}/usr/share/mindi/{CHANGES,INSTALL,LICENSE,README,TODO} + dodoc CHANGES INSTALL LICENSE README TODO + dosym /usr/share/mindi/mindi /usr/sbin/ +} |