source: MondoRescue/branches/stable/mindi-busybox/distributions/gentoo/mindi-busybox.ebuild @ 823

Last change on this file since 823 was 823, checked in by Bruno Cornec, 14 years ago

Prepare packages for the new mindi-busybox

File size: 1010 bytes
Line 
1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5# $Id$
6
7DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules."
8HOMEPAGE="http://www.mondorescue.org"
9SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
10
11LICENSE="GPL-2"
12SLOT="0"
13KEYWORDS="~x86 -*"
14IUSE=""
15
16DEPEND="virtual/libc"
17RDEPEND=">=app-arch/bzip2-0.9
18        sys-devel/binutils"
19
20src_unpack() {
21    unpack ${A} || die "Failed to unpack ${A}"
22}
23
24src_install() {
25    export PREFIX="${D}/usr"
26    export RPMBUILDMINDI="true"
27    "${WORKDIR}"/"${P}"/install.sh
28}
29
30pkg_postinst() {
31    einfo "${P} was successfully installed."
32    einfo "Please read the associated docs for help."
33    einfo "Or visit the website @ ${HOMEPAGE}"
34    echo
35    ewarn "This package is still in unstable."
36    ewarn "Please report bugs to http://bugs.gentoo.org/"
37    ewarn "However, please do an advanced query to search for bugs"
38    ewarn "before reporting. This will keep down on duplicates."
39    echo
40}
Note: See TracBrowser for help on using the repository browser.