blob: d9d9cf151a57a439e798733f8ad5c3491d3d5e66 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild,v 1.3 2005/01/01 14:46:50 eradicator Exp $
inherit eutils
DESCRIPTION="utility for preparing a hibernation partition for APM Suspend-To-Disk"
HOMEPAGE="http://www.procyon.com/~pda/lphdisk/"
SRC_URI="http://www.procyon.com/~pda/lphdisk/${P}.tar.bz2"
# <chadh@gentoo.org> I haven't actually tested that this doesn't work
# on all the below - arches, but it won't work. This only works on x86
# laptops with Phoenix NoteBIOS.
SLOT="0"
IUSE=""
KEYWORDS="x86 -ppc -sparc -alpha"
LICENSE="Artistic"
DEPEND=">=sys-apps/sed-4"
src_unpack() {
unpack ${A}
sed -i -e "s:/usr/local:usr:" \
-e "s:-g -Wall:${CFLAGS}:" \
Makefile
epatch ${FILESDIR}/${P}-gcc3.patch
}
src_compile() {
make || die
}
src_install() {
dosbin lphdisk
doman lphdisk.8
}
|