source: MondoRescue/branches/stable/mindi/distributions/gentoo/mindi.ebuild@ 770

Last change on this file since 770 was 770, checked in by Bruno Cornec, 18 years ago

gentoo build improvements

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