summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-19 03:08:19 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-19 03:08:19 +0000
commit56ae8c939b49980cf26d17c8d7e6e2fa03a22a10 (patch)
tree5a2355da2bff76fdcdb5224bd0026a4365fadff6 /app-misc/bottlerocket
parentAdd missing dependencies. Respect LDFLAGS (bug #336301), CC, CFLAGS, mainly b... (diff)
downloadgentoo-2-56ae8c939b49980cf26d17c8d7e6e2fa03a22a10.tar.gz
gentoo-2-56ae8c939b49980cf26d17c8d7e6e2fa03a22a10.tar.bz2
gentoo-2-56ae8c939b49980cf26d17c8d7e6e2fa03a22a10.zip
Respect LDFLAGS (bug #336344), more CFLAGS.
(Portage version: 2.2_rc83/cvs/Linux i686)
Diffstat (limited to 'app-misc/bottlerocket')
-rw-r--r--app-misc/bottlerocket/ChangeLog8
-rw-r--r--app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild45
2 files changed, 52 insertions, 1 deletions
diff --git a/app-misc/bottlerocket/ChangeLog b/app-misc/bottlerocket/ChangeLog
index e9c9b957b98d..30f680dca1dd 100644
--- a/app-misc/bottlerocket/ChangeLog
+++ b/app-misc/bottlerocket/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/bottlerocket
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/bottlerocket/ChangeLog,v 1.10 2010/06/10 14:55:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bottlerocket/ChangeLog,v 1.11 2010/09/19 03:08:19 jer Exp $
+
+*bottlerocket-0.04c-r1 (19 Sep 2010)
+
+ 19 Sep 2010; Jeroen Roovers <jer@gentoo.org>
+ +bottlerocket-0.04c-r1.ebuild:
+ Respect LDFLAGS (bug #336344), more CFLAGS.
10 Jun 2010; Patrick Lauer <patrick@gentoo.org> bottlerocket-0.04c.ebuild:
Fix homepage and src_uri for #309477
diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
new file mode 100644
index 000000000000..cfc7df91799c
--- /dev/null
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild,v 1.1 2010/09/19 03:08:19 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
+HOMEPAGE="http://www.linuxha.com/bottlerocket/"
+SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ # inset LDFLAGS
+ sed -i Makefile.in \
+ -e 's| -O2 ||g' \
+ -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
+ || die "sed Makefile.in"
+}
+
+src_configure() {
+ econf --with-x10port=/dev/firecracker
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall"
+ dodoc README
+}
+
+pkg_postinst() {
+ elog
+ elog "Be sure to create a /dev/firecracker symlink to the"
+ elog "serial port that has the Firecracker serial interface"
+ elog "installed on it."
+ elog
+}