blob: 244352f23396fd181657a354eda09b6c94ac1cff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/powerpc-utils/powerpc-utils-1.1.3-r18.ebuild,v 1.2 2006/01/03 22:32:34 hansmi Exp $
inherit eutils
DEBRV=${PR/r/}
MY_P="${PN}_${PV}"
DESCRIPTION="PowerPC utils; nvsetenv"
SRC_URI="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${MY_P}.orig.tar.gz
http://http.us.debian.org/debian/pool/main/p/powerpc-utils/${MY_P}-${DEBRV}.diff.gz"
HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/powerpc-utils/"
KEYWORDS="-alpha -amd64 -hppa -mips ppc ~ppc64 -sparc -x86"
IUSE=""
DEPEND="virtual/libc"
RDEPEND=""
SLOT="0"
LICENSE="GPL-2"
src_unpack() {
cd ${WORKDIR}
unpack powerpc-utils_${PV}.orig.tar.gz
mv pmac-utils ${P}
cd ${S}
epatch ${DISTDIR}/powerpc-utils_${PV}-${DEBRV}.diff.gz || die
cd ${WORKDIR}
chown -R 0:0 *
chmod -R a+r-w+X,u+w *
}
src_compile() {
emake CFLAGS="$CFLAGS -fsigned-char" || die
}
src_install() {
into /usr
dosbin nvsetenv trackpad clock mousemode backlight nvsetvol fblevel fnset lsprop || die
doman trackpad.8 nvsetvol.8 fblevel.8 || die
}
|