diff options
author | Jason Wever <weeve@gentoo.org> | 2003-11-01 12:01:39 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2003-11-01 12:01:39 +0000 |
commit | d80f536b411fc37119a7321b7cf2e0d73edb8162 (patch) | |
tree | b0f3b5917555dcc1ff90c6eeb713384a883ae241 /sys-apps/sparc-utils | |
parent | another rev bump, more ebuild cleanups from Matsuu Takuto <matsuu@gentoo.org>... (diff) | |
download | historical-d80f536b411fc37119a7321b7cf2e0d73edb8162.tar.gz historical-d80f536b411fc37119a7321b7cf2e0d73edb8162.tar.bz2 historical-d80f536b411fc37119a7321b7cf2e0d73edb8162.zip |
another rev bump, more ebuild cleanups from Matsuu Takuto <matsuu@gentoo.org>. closes bug #30744.
Diffstat (limited to 'sys-apps/sparc-utils')
-rw-r--r-- | sys-apps/sparc-utils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r2 | 2 | ||||
-rw-r--r-- | sys-apps/sparc-utils/sparc-utils-1.9-r2.ebuild | 75 |
3 files changed, 79 insertions, 2 deletions
diff --git a/sys-apps/sparc-utils/Manifest b/sys-apps/sparc-utils/Manifest index ca8b2c7bac27..98e8d38fd4d7 100644 --- a/sys-apps/sparc-utils/Manifest +++ b/sys-apps/sparc-utils/Manifest @@ -1,8 +1,8 @@ -MD5 06d7c249bad84dc374599b196e4d180e ChangeLog 1625 +MD5 43e8d66e7b5fd6904ba573eac324f487 ChangeLog 1625 MD5 1281e21ae801232cac21628092fbc7f9 metadata.xml 420 MD5 119e207915e666370bbf35f87651c275 sparc-utils-1.9-r1.ebuild 2002 MD5 0fcc99d8b625909da0d2e958b6a983d3 sparc-utils-1.9.ebuild 1825 -MD5 8d869e23a172fd743620205ad966ba63 sparc-utils-1.9-r2.ebuild 1984 +MD5 fc839660c231876a83ab1cba567d1783 sparc-utils-1.9-r2.ebuild 2090 MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9 141 MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9-r1 141 MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9-r2 141 diff --git a/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r2 b/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r2 new file mode 100644 index 000000000000..0366076fa938 --- /dev/null +++ b/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r2 @@ -0,0 +1,2 @@ +MD5 08bf3f6d8433a1f4981a2afaa6b49a6c sparc-utils_1.9.orig.tar.gz 110080 +MD5 50bd3e4749473b3effdb00981220f09f sparc-utils_1.9-2.diff.bz2 7992 diff --git a/sys-apps/sparc-utils/sparc-utils-1.9-r2.ebuild b/sys-apps/sparc-utils/sparc-utils-1.9-r2.ebuild new file mode 100644 index 000000000000..35bef1787f19 --- /dev/null +++ b/sys-apps/sparc-utils/sparc-utils-1.9-r2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2003 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-r2.ebuild,v 1.1 2003/11/01 12:01:36 weeve Exp $ + +inherit eutils + +DESCRIPTION="Various sparc utilites from Debian GNU/Linux" +HOMEPAGE="http://www.debian.org/" +SRC_URI=" http://http.us.debian.org/debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz + mirror://gentoo/${PN}_${PV}-2.diff.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~sparc -x86 -ppc" +IUSE="" + +DEPEND="sys-kernel/linux-headers" +RDEPEND="virtual/glibc + sys-devel/sparc32" + +S="${WORKDIR}/${P}.orig" + +src_unpack() { + unpack ${A} + epatch ${WORKDIR}/${PN}_${PV}-2.diff +} + +src_compile() { + local CFLAGS="-O3" + + emake -C elftoaout-2.3 CFLAGS="${CFLAGS}" || die + emake -C src piggyback piggyback64 CFLAGS="${CFLAGS}" || die + emake -C prtconf-1.3 all || die + emake -C audioctl-1.3 || die + + # sparc32 is in sys-devel/sparc32 + # emake -C sparc32-1.1 +} + +src_install() { + + # since the debian/piggyback64.1 manpage is a pointer to the + # debian/piggyback.1 manpage, copy debian/piggyback.1 to + # debian/piggyback64.1 + + cp ${S}/debian/piggyback.1 ${S}/debian/piggyback64.1 + + dobin elftoaout-2.3/elftoaout || die + dobin src/piggyback || die + dobin src/piggyback64 || die + dosbin prtconf-1.3/prtconf || die + dosbin prtconf-1.3/eeprom || die + + dobin audioctl-1.3/audioctl || die + + exeinto /etc/init.d; newexe ${FILESDIR}/audioctl.init audioctl || die + insinto /etc/conf.d; newins debian/audioctl.def audioctl || die + + doman audioctl-1.3/audioctl.1 + doman elftoaout-2.3/elftoaout.1 + doman prtconf-1.3/prtconf.8 + doman prtconf-1.3/eeprom.8 + doman debian/piggyback.1 + doman debian/piggyback64.1 +} + +pkg_postinst() { + ewarn "In order to /usr/sbin/eeprom, make sure you build /dev/openprom" + ewarn "device support (CONFIG_SUN_OPENPROMIO) into the kernel, or as a" + ewarn "module (and that the module is loaded)." + ewarn "" + ewarn "If you are not using devfs, you can create /dev/openprom" + ewarn "with the following command:" + ewarn "\tcd /dev ; mknod openprom c 10 139" +} |