diff options
author | Harri Nieminen <moikkis@gmail.com> | 2018-04-05 18:22:44 +0300 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-04-05 22:41:59 -0400 |
commit | 6ae34d5a28d5c50d25f68afbe631c30862d7ad38 (patch) | |
tree | abd6c4bc4257ab14ece43f5dc547c16f22998b92 /sys-apps/sparc-utils | |
parent | sys-apps/bleachbit: Update metadata.xml. (diff) | |
download | gentoo-6ae34d5a28d5c50d25f68afbe631c30862d7ad38.tar.gz gentoo-6ae34d5a28d5c50d25f68afbe631c30862d7ad38.tar.bz2 gentoo-6ae34d5a28d5c50d25f68afbe631c30862d7ad38.zip |
sys-apps/sparc-utils: Clean up old
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7827
Diffstat (limited to 'sys-apps/sparc-utils')
-rw-r--r-- | sys-apps/sparc-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild | 75 |
2 files changed, 0 insertions, 76 deletions
diff --git a/sys-apps/sparc-utils/Manifest b/sys-apps/sparc-utils/Manifest index c796e304cd27..4b38a775d378 100644 --- a/sys-apps/sparc-utils/Manifest +++ b/sys-apps/sparc-utils/Manifest @@ -1,3 +1,2 @@ -DIST sparc-utils_1.9-3.diff.gz 10337 BLAKE2B 03ee7ca15c4e736955fa08c66bbd1db2ec39764b4334fbec3838f5bcea3945d22c7a3148c00ab43a67324827af473739d014d7a6a895dbbd58c43ba13cbb1efe SHA512 c6eba75261ffee55cc49e3da71ad3a2f12e04574158975c69db0bbd94d7c22ca4dec50f3140cf0bf9f35bb547865deca3cfd3e28e76c70b9173926bc0b8f34ee DIST sparc-utils_1.9-4.diff.gz 9083 BLAKE2B e4b16c26fe67be73d0fd3ad8e1e80b19356d5961abac344f28650e4d355cac9c557999591947391c41be88d819ebb703ae1ff177b4fbe0d9bea7a411a791821f SHA512 ef79dc480471117da3a778450b3a122eaf64fdee69d35ff30b301f2360ff5d76c6343ce37c25cc188891c1619809daa0595d01c6e85781ddd7ddf1713c8378b7 DIST sparc-utils_1.9.orig.tar.gz 110080 BLAKE2B 52f47c130fb8e24b0340589c846292fb2e4e9b211a10cddf52a7a63edd70673e2b7d05c2415e558c5f2d1235f33f4ae65b777d3f8b2cf2c50a601d1f0a7a941a SHA512 bde05f1a98211aaf502be6dfd757ddfb21c136cedbb46ca84a4539706c71901815c9d8bedfebc3800c7340634b32276197c75f92f9cc829e4f50c37d203e9358 diff --git a/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild b/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild deleted file mode 100644 index f19f07a176b4..000000000000 --- a/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils toolchain-funcs - -DESCRIPTION="Various sparc utilities from Debian GNU/Linux" -HOMEPAGE="http://packages.debian.org/sparc-utils" -SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz - mirror://debian/pool/main/s/${PN}/${PN}_${PV}-3.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* sparc" -IUSE="" - -DEPEND="virtual/os-headers" -RDEPEND="|| ( >=sys-apps/util-linux-2.13-r1 sys-apps/setarch )" - -S=${WORKDIR}/${P}.orig - -# NOTE: If a system has >=sys-kernel/linux-headers-2.6.0, don't build audioctl -# as the SPARC sound drivers have been replaced by their ALSA equivalents - -pkg_setup() { - has_version '>=sys-kernel/linux-headers-2.6.0' && \ - einfo "Linux 2.6 kernel headers detected, not building audioctl" -} - -src_unpack() { - unpack ${A} - epatch "${WORKDIR}/${PN}_${PV}-3.diff" - sed -i -e 's:#include <linux/elf.h>:#include <elf.h>:' \ - ${S}/elftoaout*/elftoaout.c -} - -src_compile() { - emake -C elftoaout-2.3 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die - emake -C src piggyback piggyback64 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die - emake -C prtconf-1.3 CC="$(tc-getCC)" all || die - has_version '>=sys-kernel/linux-headers-2.6.0' || \ - emake -C audioctl-1.3 CC="$(tc-getCC)" || die -} - -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 - - if ! has_version '>=sys-kernel/linux-headers-2.6.0'; then - dobin audioctl-1.3/audioctl || die - newinitd "${FILESDIR}"/audioctl.init audioctl || die - newconfd debian/audioctl.def audioctl || die - doman audioctl-1.3/audioctl.1 - fi - - 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 have /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)." -} |