| 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 | |
|---|
| 7 | DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules." |
|---|
| 8 | HOMEPAGE="http://www.mondorescue.org" |
|---|
| 9 | SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz" |
|---|
| 10 | |
|---|
| 11 | LICENSE="GPL-2" |
|---|
| 12 | SLOT="0" |
|---|
| 13 | KEYWORDS="~x86 ~ia64 ~amd64 -*" |
|---|
| 14 | IUSE="" |
|---|
| 15 | |
|---|
| 16 | DEPEND="virtual/libc" |
|---|
| 17 | RDEPEND=">=app-arch/bzip2-0.9 |
|---|
| 18 | sys-libs/ncurses |
|---|
| 19 | sys-devel/binutils |
|---|
| 20 | sys-fs/dosfstools |
|---|
| 21 | sys-apps/mindi-busybox |
|---|
| 22 | sys-apps/parted |
|---|
| 23 | sys-apps/gawk" |
|---|
| 24 | |
|---|
| 25 | src_unpack() { |
|---|
| 26 | unpack ${A} || die "Failed to unpack ${A}" |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | src_install() { |
|---|
| 30 | export HEAD="${D}" |
|---|
| 31 | export PREFIX="/usr" |
|---|
| 32 | export CONFDIR="/etc" |
|---|
| 33 | export CACHEDIR="/var/cache/mindi" |
|---|
| 34 | export MANDIR="${PREFIX}/share/man" |
|---|
| 35 | export DOCDIR="${PREFIX}/share/doc" |
|---|
| 36 | export LIBDIR="${PREFIX}/lib" |
|---|
| 37 | export DONT_RELINK=1 |
|---|
| 38 | export PKGBUILDMINDI="true" |
|---|
| 39 | "${WORKDIR}"/"${P}"/install.sh |
|---|
| 40 | } |
|---|
| 41 | |
|---|
| 42 | pkg_postinst() { |
|---|
| 43 | einfo "${P} was successfully installed." |
|---|
| 44 | einfo "Please read the associated docs for help." |
|---|
| 45 | einfo "Or visit the website @ ${HOMEPAGE}" |
|---|
| 46 | echo |
|---|
| 47 | ewarn "This package is still in unstable." |
|---|
| 48 | ewarn "Please report bugs to http://bugs.gentoo.org/" |
|---|
| 49 | ewarn "However, please do an advanced query to search for bugs" |
|---|
| 50 | ewarn "before reporting. This will keep down on duplicates." |
|---|
| 51 | echo |
|---|
| 52 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.