summaryrefslogtreecommitdiff
path: root/app-misc/bottlerocket
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/bottlerocket
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/bottlerocket')
-rw-r--r--app-misc/bottlerocket/Manifest3
-rw-r--r--app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild44
-rw-r--r--app-misc/bottlerocket/metadata.xml5
3 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/bottlerocket/Manifest b/app-misc/bottlerocket/Manifest
new file mode 100644
index 000000000000..daefc9962c86
--- /dev/null
+++ b/app-misc/bottlerocket/Manifest
@@ -0,0 +1,3 @@
+DIST bottlerocket-0.04c.tar.gz 40533 BLAKE2B d42adfc40194cde1229f6e20a3ceed3115d1e1b41789b51f508edc09d12525f6e702c470f38aa94c95d9987b986f467a7723e65f616cbfdfdfa12a05096ea932 SHA512 37673bd9a519307f0ae3003f3a458dbb99d4fd0c96ebaa664f4967fe45b20c1132828c3c7a31e769157e6034c43c9cdcd1ecac8c6791812d2a04e93d4c0c6888
+EBUILD bottlerocket-0.04c-r1.ebuild 881 BLAKE2B 3ca7e8421209e09396cce6b84197fa2bec3cd76b242176dc94c2eb3ba6f4faffdf66cdc2173f734d7139ca815920b2c4d43a10613297b5eecc2be59da96e988d SHA512 1b022113885a17a16c3ff555cdad77b4f498b8b4eced10f9636998883c0cd046f813bea88d51bf19d4a096a19c475079a3ea97d286e1419f39d7ae73966dc33f
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
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..4bebb91dd777
--- /dev/null
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/app-misc/bottlerocket/metadata.xml b/app-misc/bottlerocket/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/bottlerocket/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>