summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-09-02 19:12:50 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-09-02 19:12:50 +0000
commit77d46b886f9abd6b95352011fbdcec9b80503cd2 (patch)
tree6e767cf5b9a19f1b7c3bef7c0f45eedadcc6ce0d /sys-power/powersoftplus
parentdev-embedded/powersoftplus-libftdi: Moved libftd2xx to a separate package, Ch... (diff)
downloadgentoo-2-77d46b886f9abd6b95352011fbdcec9b80503cd2.tar.gz
gentoo-2-77d46b886f9abd6b95352011fbdcec9b80503cd2.tar.bz2
gentoo-2-77d46b886f9abd6b95352011fbdcec9b80503cd2.zip
sys-power/powersoftplus: Build against installed system library, Added notice regarding USB device usage
(Portage version: 2.1.2.12)
Diffstat (limited to 'sys-power/powersoftplus')
-rw-r--r--sys-power/powersoftplus/ChangeLog9
-rw-r--r--sys-power/powersoftplus/files/digest-powersoftplus-0.1.8-r1 (renamed from sys-power/powersoftplus/files/digest-powersoftplus-0.1.8)0
-rw-r--r--sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild (renamed from sys-power/powersoftplus/powersoftplus-0.1.8.ebuild)23
3 files changed, 26 insertions, 6 deletions
diff --git a/sys-power/powersoftplus/ChangeLog b/sys-power/powersoftplus/ChangeLog
index b970e5f4a2ab..91624c5364e2 100644
--- a/sys-power/powersoftplus/ChangeLog
+++ b/sys-power/powersoftplus/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-power/powersoftplus
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/ChangeLog,v 1.1 2007/09/01 23:49:23 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/ChangeLog,v 1.2 2007/09/02 19:12:49 jurek Exp $
+
+*powersoftplus-0.1.8-r1 (02 Sep 2007)
+
+ 02 Sep 2007; Jurek Bartuszek <jurek@gentoo.org>
+ -powersoftplus-0.1.8.ebuild, +powersoftplus-0.1.8-r1.ebuild:
+ - Build against installed system library
+ - Added notice regarding USB device usage
*powersoftplus-0.1.8 (01 Sep 2007)
diff --git a/sys-power/powersoftplus/files/digest-powersoftplus-0.1.8 b/sys-power/powersoftplus/files/digest-powersoftplus-0.1.8-r1
index 1249f4b61c49..1249f4b61c49 100644
--- a/sys-power/powersoftplus/files/digest-powersoftplus-0.1.8
+++ b/sys-power/powersoftplus/files/digest-powersoftplus-0.1.8-r1
diff --git a/sys-power/powersoftplus/powersoftplus-0.1.8.ebuild b/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild
index 3d4894856443..1e4b28bde240 100644
--- a/sys-power/powersoftplus/powersoftplus-0.1.8.ebuild
+++ b/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/powersoftplus-0.1.8.ebuild,v 1.1 2007/09/01 23:49:23 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild,v 1.1 2007/09/02 19:12:49 jurek Exp $
inherit autotools
@@ -13,21 +13,28 @@ SLOT="0"
KEYWORDS="~x86"
IUSE=""
-DEPEND="=dev-embedded/powersoftplus-libftdi-${PV}*"
+DEPEND="dev-embedded/libftd2xx
+ =dev-embedded/powersoftplus-libftdi-${PV}*"
RDEPEND="${DEPEND}"
-MAKEOPTS="${MAKEOPTS} -j1"
-
src_unpack() {
unpack ${A}
cd ${S}
- # Remove libftdi because we build this in powersoftplus-libftdi
+ # Remove libftdi because we moved it to another package
# Remove scripts because we provide our own startup scripts
sed -i -e 's#^SUBDIRS = libftdi \(.*\) scripts#SUBDIRS = \1#' \
Makefile.am \
|| die "sed failed"
+ # Fix libftd2xx header reference
+ sed -i \
+ -e 's@^#include "libftdi/ftd2xx.h$@#include <ftd2xx.h>@' \
+ src/ftccomm.h \
+ -e 's#-I$(top_srcdir)/libftdi##' \
+ Makefile.am \
+ || die "sed failed"
+
# Fix access violations
sed -i -e \
's#^CONFPATH = @CONFIG_PATH@$#CONFPATH = ${DESTDIR}/@CONFIG_PATH@#' \
@@ -51,3 +58,9 @@ src_install() {
doinitd ${FILESDIR}/powersoftplus
dodoc AUTHORS COPYING INSTALL README TODO Pomoc.pdf
}
+
+pkg_postinst() {
+ elog "Remeber that if you want to communicate with USB devices you"
+ elog "have to edit /etc/fstab so that it contains the following entry"
+ elog " none /proc/bus/usb usbfs defaults,devmode=0666 0 0"
+}