/[gentoo-x86]/sys-power/powersoftplus/powersoftplus-0.1.8.ebuild
Gentoo

Contents of /sys-power/powersoftplus/powersoftplus-0.1.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Sep 2 19:12:49 2007 UTC (12 years, 5 months ago) by jurek
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
sys-power/powersoftplus: Build against installed system library, Added notice regarding USB device usage
(Portage version: 2.1.2.12)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/powersoftplus-0.1.8.ebuild,v 1.1 2007/09/01 23:49:23 jurek Exp $
4
5 inherit autotools
6
7 DESCRIPTION="Ever UPS daemon"
8 HOMEPAGE="http://www.ever.com.pl"
9 SRC_URI="http://www.ever.com.pl/pl/pliki/${P}-x86.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86"
14 IUSE=""
15
16 DEPEND="=dev-embedded/powersoftplus-libftdi-${PV}*"
17 RDEPEND="${DEPEND}"
18
19 MAKEOPTS="${MAKEOPTS} -j1"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24
25 # Remove libftdi because we build this in powersoftplus-libftdi
26 # Remove scripts because we provide our own startup scripts
27 sed -i -e 's#^SUBDIRS = libftdi \(.*\) scripts#SUBDIRS = \1#' \
28 Makefile.am \
29 || die "sed failed"
30
31 # Fix access violations
32 sed -i -e \
33 's#^CONFPATH = @CONFIG_PATH@$#CONFPATH = ${DESTDIR}/@CONFIG_PATH@#' \
34 conf/Makefile.in \
35 || die "sed failed"
36
37 # Fix access violations
38 sed -i -e \
39 's#^PIXPATH = @PIX_PATH@$#PIXPATH = ${DESTDIR}/@PIX_PATH@#' \
40 pix/Makefile.in \
41 || die "sed failed"
42
43 eautoreconf
44
45 epatch ${FILESDIR}/${P}-reduceverbosity.patch
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install || die "install failed"
50
51 doinitd ${FILESDIR}/powersoftplus
52 dodoc AUTHORS COPYING INSTALL README TODO Pomoc.pdf
53 }

  ViewVC Help
Powered by ViewVC 1.1.20