summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-06-21 08:56:50 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-06-21 08:56:50 +0000
commitc3397538ad5f751afcb52ef2b460e0987e6b4b1a (patch)
tree75da227947e943d2bd640ba2a5b1b25e77b215d0 /sys-apps/yard
parenttypo fixes (diff)
downloadgentoo-2-c3397538ad5f751afcb52ef2b460e0987e6b4b1a.tar.gz
gentoo-2-c3397538ad5f751afcb52ef2b460e0987e6b4b1a.tar.bz2
gentoo-2-c3397538ad5f751afcb52ef2b460e0987e6b4b1a.zip
updated HOMEPAGE, SLOT and LICENSE
Diffstat (limited to 'sys-apps/yard')
-rw-r--r--sys-apps/yard/yard-2.0-r1.ebuild129
1 files changed, 64 insertions, 65 deletions
diff --git a/sys-apps/yard/yard-2.0-r1.ebuild b/sys-apps/yard/yard-2.0-r1.ebuild
index 5e87213cca13..86e588597966 100644
--- a/sys-apps/yard/yard-2.0-r1.ebuild
+++ b/sys-apps/yard/yard-2.0-r1.ebuild
@@ -1,86 +1,85 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/yard/yard-2.0-r1.ebuild,v 1.5 2001/05/09 03:19:44 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yard/yard-2.0-r1.ebuild,v 1.6 2002/06/21 08:56:50 seemant Exp $
A="${P}.tar.gz diet-utils.tar.bz2"
S=${WORKDIR}/${P}
DESCRIPTION="Yard is a suite of Perl scripts for creating rescue disks (also
called bootdisks) for Linux."
SRC_URI="http://www.croftj.net/~fawcett/yard/${P}.tar.gz"
-HOMEPAGE="http://www.croftj.net/~fawcett/yard/"
+HOMEPAGE="http://www.linuxlots.com/~fawcett/yard/"
+
+SLOT=""
+LICENSE="GPL-2 Artistic"
src_unpack() {
- unpack ${P}.tar.gz
- cd ${S}
- cp ${FILESDIR}/configure .
- cp Makefile.in Makefile.in.orig
- patch -p0 < ${FILESDIR}/${P}-Makefile.in-gentoo.diff
- patch -p0 < ${FILESDIR}/${P}-doc-Makefile.in-gentoo.diff
- patch -p0 < ${FILESDIR}/${P}-extras-Makefile.in-gentoo.diff
+ unpack ${P}.tar.gz
+ cd ${S}
+ cp ${FILESDIR}/configure .
+ cp Makefile.in Makefile.in.orig
+ patch -p0 < ${FILESDIR}/${P}-Makefile.in-gentoo.diff
+ patch -p0 < ${FILESDIR}/${P}-doc-Makefile.in-gentoo.diff
+ patch -p0 < ${FILESDIR}/${P}-extras-Makefile.in-gentoo.diff
}
src_compile() {
- cd ${S}
- try ./configure --prefix=/usr
- try make
+ cd ${S}
+ econf || die
+ make || die
}
src_install () {
- cd ${S}
- try make DESTDIR=${D} install
+ cd ${S}
+ einstall || die
#customize
- rm -rf ${D}/usr/share/doc/${P}
- cd doc
- docinto txt
- dodoc *.txt Broken*
- docinto html
- dodoc *.html
- docinto sgml
- dodoc *.sgml
- docinto print
- gunzip Yard_doc.ps.gz
- dodoc *.ps
-
- # Now overwrite to make it usable under gentoo
-
- # configure stuff
-
- cd ${FILESDIR}/${P}
- insinto /etc/yard
- doins etc/Bootdisk* etc/Config.pl
- insinto /etc/yard/Replacements/etc
- doins etc/Replacements/etc/[a-z]*
- chmod +x ${D}/etc/yard/Replacements/etc/rc
- insinto /etc/yard/Replacements/etc/pam.d
- doins etc/Replacements/pam.d/other
- insinto /etc/yard/Replacements/root
- doins etc/Replacements/root/profile
-
- # modified scripts
-
- exeinto /usr/sbin
- doexe sbin/{*_root_fs,mklibs.sh,write_rescue_disk,reduce_libs_root_fs}
-
- # devices
-
- dodir /etc/yard/Replacements/dev
- cd ${D}/etc/yard/Replacements/dev
- for i in hda hdb hdc hdd hde hdf hdg hdh scd
- do
- MAKEDEV $i
- done
-
- # diet-utils
- cd ..
- mkdir bin
- cd bin
- unpack diet-utils.tar.bz2
-
-
+ rm -rf ${D}/usr/share/doc/${P}
+ cd doc
+ docinto txt
+ dodoc *.txt Broken*
+ docinto html
+ dodoc *.html
+ docinto sgml
+ dodoc *.sgml
+ docinto print
+ gunzip Yard_doc.ps.gz
+ dodoc *.ps
+
+ # Now overwrite to make it usable under gentoo
+
+ # configure stuff
+
+ cd ${FILESDIR}/${P}
+ insinto /etc/yard
+ doins etc/Bootdisk* etc/Config.pl
+ insinto /etc/yard/Replacements/etc
+ doins etc/Replacements/etc/[a-z]*
+ chmod +x ${D}/etc/yard/Replacements/etc/rc
+ insinto /etc/yard/Replacements/etc/pam.d
+ doins etc/Replacements/pam.d/other
+ insinto /etc/yard/Replacements/root
+ doins etc/Replacements/root/profile
+
+ # modified scripts
+
+ exeinto /usr/sbin
+ doexe sbin/{*_root_fs,mklibs.sh,write_rescue_disk,reduce_libs_root_fs}
+
+ # devices
+
+ dodir /etc/yard/Replacements/dev
+ cd ${D}/etc/yard/Replacements/dev
+ for i in hda hdb hdc hdd hde hdf hdg hdh scd
+ do
+ MAKEDEV $i
+ done
+
+ # diet-utils
+ cd ..
+ mkdir bin
+ cd bin
+ unpack diet-utils.tar.bz2
}
-