diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 21:48:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 21:48:04 +0000 |
commit | 5d646894a0eeddbef97e9d5f56c803b9e4022993 (patch) | |
tree | 3139fa58ae4518542815698b97473b92b0203f02 /sys-apps/sparc-utils | |
parent | Changed mkdir ${D} to dodir ${D} (diff) | |
download | gentoo-2-5d646894a0eeddbef97e9d5f56c803b9e4022993.tar.gz gentoo-2-5d646894a0eeddbef97e9d5f56c803b9e4022993.tar.bz2 gentoo-2-5d646894a0eeddbef97e9d5f56c803b9e4022993.zip |
Changed mkdir ${D} to dodir ${D}
Diffstat (limited to 'sys-apps/sparc-utils')
-rw-r--r-- | sys-apps/sparc-utils/sparc-utils-1.9.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys-apps/sparc-utils/sparc-utils-1.9.ebuild b/sys-apps/sparc-utils/sparc-utils-1.9.ebuild index 3ed17e54e105..4e58d1e313d5 100644 --- a/sys-apps/sparc-utils/sparc-utils-1.9.ebuild +++ b/sys-apps/sparc-utils/sparc-utils-1.9.ebuild @@ -1,14 +1,16 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/sparc-utils-1.9.ebuild,v 1.9 2002/11/18 06:49:54 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/sparc-utils-1.9.ebuild,v 1.10 2002/11/30 21:44:14 vapier Exp $ S=${WORKDIR}/${P}.orig DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" SRC_URI=" http://http.us.debian.org/debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz" HOMEPAGE="http://www.debian.org/" + KEYWORDS="sparc sparc64 -x86 -ppc" SLOT="0" LICENSE="GPL-2" + DEPEND="sys-kernel/linux-headers" RDEPEND="virtual/glibc" @@ -19,7 +21,6 @@ src_unpack() { src_compile() { CFLAGS="-O3" - cd ${S} emake -C elftoaout-2.3 CFLAGS="$CFLAGS" || die emake -C src piggyback piggyback64 CFLAGS="$CFLAGS" || die emake -C prtconf-1.3 all || die @@ -27,16 +28,14 @@ src_compile() { # Not compiling at this time, commented out #emake -C sparc32-1.1 emake -C audioctl-1.3 || die - } src_install() { - mkdir -p ${D}/usr/bin ${D}/usr/sbin ${D}/etc/init.d ${D}/etc/default - dodir /usr/bin + dodir /usr/bin /usr/sbin /etc/init.d /etc/default install -s elftoaout-2.3/elftoaout ${D}/usr/bin install -s src/piggyback src/piggyback64 ${D}/usr/bin #install -s sparc32-1.1/sparc32 ${D}/usr/bin - dodir /usr/sbin + install -s prtconf-1.3/prtconf ${D}/usr/sbin/prtconf install -s prtconf-1.3/eeprom ${D}/usr/sbin/eeprom #ln -sf sparc32 ${D}/usr/bin/sparc64 @@ -45,7 +44,9 @@ src_install() { install -d -m 755 ${D}/etc ${D}/etc/init.d ${D}/etc/default #install -m 755 debian/audioctl ${D}/etc/init.d install -m 755 debian/audioctl.def ${D}/etc/default/audioctl +} +pkg_postinst() { # Todo: Somehow set this automatically ewarn "Make sure /dev/openprom exists. If you're not using devfs and" ewarn "/dev/openprom does not exist, run" |