1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
11 DESCRIPTION="PowerPC utilities including nvsetenv, and additional OldWorld apps"
12 SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}.orig.tar.gz
13 http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${PN}_${BASEVER}-${DEBREV}.diff.gz
14 mirror://gentoo/${PN}-cleanup.patch.bz2"
16 HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/"
17 KEYWORDS="-* ppc ppc64"
24 S="${WORKDIR}/pmac-utils"
27 "${WORKDIR}"/${PN}_${BASEVER}-${DEBREV}.diff
28 "${WORKDIR}"/${PN}-cleanup.patch
34 # use users CFLAGS, LDFLAGS and CC, bug 280400
35 sed -i -e "/LDFLAGS =/d" -e "/CC\t=/d" -e "s/CFLAGS\t=/CFLAGS +=/" \
36 -e "s/-g -O2/-Wstrict-prototypes/" Makefile || die "sed failed"
46 dosbin autoboot backlight bootsched clock fblevel fdeject fnset
47 dosbin macos mousemode nvsetenv nvsetvol nvvideo sndvolmix trackpad
49 doman autoboot.8 bootsched.8 clock.8 fblevel.8 fdeject.8 macos.8
50 doman mousemode.8 nvsetenv.8 nvsetvol.8 nvvideo.8 sndvolmix.8 trackpad.8
52 ewarn "The lsprop utility has been moved into the ibm-powerpc-utils package."