source: MondoRescue/branches/2.2.5/pbconf/mindi/ebuild/mindi.ebuild@ 1683

Last change on this file since 1683 was 1683, checked in by Bruno Cornec, 17 years ago
  • du => deb for similarity with other distro type under pbconf
  • migrate gento build files under pb
  • remove now obsolete rpm spec file and gentoo build files from distributions
File size: 1.3 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"
[1586]13KEYWORDS="~x86 ~ia64 ~amd64 -*"
[308]14IUSE=""
15
16DEPEND="virtual/libc"
17RDEPEND=">=app-arch/bzip2-0.9
18 sys-libs/ncurses
19 sys-devel/binutils
20 sys-fs/dosfstools
[1443]21 sys-apps/mindi-busybox
[1461]22 sys-apps/parted
[308]23 sys-apps/gawk"
24
25src_unpack() {
[781]26 unpack ${A} || die "Failed to unpack ${A}"
[308]27}
28
29src_install() {
[936]30 export HEAD="${D}"
31 export PREFIX="/usr"
32 export CONFDIR="/etc"
[1510]33 export CACHEDIR="/var/cache/mindi"
[936]34 export MANDIR="${PREFIX}/share/man"
35 export DOCDIR="${PREFIX}/share/doc"
36 export LIBDIR="${PREFIX}/lib"
[556]37 export DONT_RELINK=1
[1510]38 export PKGBUILDMINDI="true"
[781]39 "${WORKDIR}"/"${P}"/install.sh
[308]40}
41
42pkg_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.