diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-06-06 07:25:43 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-06-06 07:25:52 +0100 |
commit | c7a37e1e0b5ac44b3311ddb03d28a75edec10398 (patch) | |
tree | f285ecb10ed5e976f94dcbc8c43a90a469b60794 /sys-apps | |
parent | dev-lang/rust: add arm libdir fix to 1.35.0 (diff) | |
download | gentoo-c7a37e1e0b5ac44b3311ddb03d28a75edec10398.tar.gz gentoo-c7a37e1e0b5ac44b3311ddb03d28a75edec10398.tar.bz2 gentoo-c7a37e1e0b5ac44b3311ddb03d28a75edec10398.zip |
sys-apps/powerpc-utils: bump up to EAPI=7
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild new file mode 100644 index 000000000000..d59b974f9c0e --- /dev/null +++ b/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +BASEVER=$(ver_cut 1-3) +DEBREV=$(ver_cut 4) + +DESCRIPTION="PowerPC utilities including nvsetenv, and additional OldWorld apps" +SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}.orig.tar.gz + http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}-${DEBREV}.diff.gz + mirror://gentoo/${PN}-cleanup.patch.bz2" + +HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/" +KEYWORDS="-* ~ppc ~ppc64" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND}" +SLOT="0" +LICENSE="GPL-2" + +S="${WORKDIR}/pmac-utils" + +PATCHES=( + "${WORKDIR}"/${PN}_${BASEVER}-${DEBREV}.diff + "${WORKDIR}"/${PN}-cleanup.patch +) + +src_prepare() { + default + + # use users CFLAGS, LDFLAGS and CC, bug 280400 + sed -i -e "/LDFLAGS =/d" -e "/CC\t=/d" -e "s/CFLAGS\t=/CFLAGS +=/" \ + -e "s/-g -O2/-Wstrict-prototypes/" Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake +} + +src_install() { + into /usr + dosbin autoboot backlight bootsched clock fblevel fdeject fnset + dosbin macos mousemode nvsetenv nvsetvol nvvideo sndvolmix trackpad + + doman autoboot.8 bootsched.8 clock.8 fblevel.8 fdeject.8 macos.8 + doman mousemode.8 nvsetenv.8 nvsetvol.8 nvvideo.8 sndvolmix.8 trackpad.8 + + ewarn "The lsprop utility has been moved into the ibm-powerpc-utils package." +} |