From: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 1/3] atf: new package
Date: Thu, 11 Jun 2015 18:51:31 -0400 [thread overview]
Message-ID: <1434063093-14906-2-git-send-email-sebastien.bourdelin@savoirfairelinux.com> (raw)
In-Reply-To: <1434063093-14906-1-git-send-email-sebastien.bourdelin@savoirfairelinux.com>
ATF, or Automated Testing Framework, is a collection of libraries to
write test programs in C, C++ and POSIX shell.
https://github.com/jmmv/atf
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
---
Changes v4 -> v5:
suggested by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
suggested by Arnout Vandecapelle <arnout@mind.be>:
- do not install the precompiled tests.
Changes v3 -> v4:
- rebase
suggested by Arnout Vandecapelle <arnout@mind.be>:
- changes the license to BSD-2c, BSD-3c
suggested by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
- moves the package to Librairies/Other
Changes v2 -> v3:
- rebase
suggested by Arnout Vandecapelle <arnout@mind.be>:
- adds comment to explain the need to use AUTORECONF
Changes v1 -> v2:
suggested by Arnout Vandecapelle <arnout@mind.be>:
- bump the version
- uses the release archive instead of the github automatic one
- updates the hash
- removes host-pkgconf from dependencies
- changes the license
- reworks the comment around CONF_ENV to avoid error
---
package/Config.in | 1 +
package/atf/Config.in | 11 +++++++++++
package/atf/atf.hash | 2 ++
package/atf/atf.mk | 24 ++++++++++++++++++++++++
4 files changed, 38 insertions(+)
create mode 100644 package/atf/Config.in
create mode 100644 package/atf/atf.hash
create mode 100644 package/atf/atf.mk
diff --git a/package/Config.in b/package/Config.in
index a17901f..d111a82 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1005,6 +1005,7 @@ menu "Other"
source "package/apr-util/Config.in"
source "package/argp-standalone/Config.in"
source "package/armadillo/Config.in"
+ source "package/atf/Config.in"
source "package/bdwgc/Config.in"
source "package/boost/Config.in"
source "package/clapack/Config.in"
diff --git a/package/atf/Config.in b/package/atf/Config.in
new file mode 100644
index 0000000..59712ab
--- /dev/null
+++ b/package/atf/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ATF
+ bool "atf"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ ATF, or Automated Testing Framework, is a collection of
+ libraries to write test programs in C, C++ and POSIX shell.
+
+ https://github.com/jmmv/atf
+
+comment "atf needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/atf/atf.hash b/package/atf/atf.hash
new file mode 100644
index 0000000..78cd3c6
--- /dev/null
+++ b/package/atf/atf.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505 atf-0.21.tar.gz
diff --git a/package/atf/atf.mk b/package/atf/atf.mk
new file mode 100644
index 0000000..ed2080e
--- /dev/null
+++ b/package/atf/atf.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# atf
+#
+################################################################################
+
+ATF_VERSION = 0.21
+ATF_SITE = https://github.com/jmmv/atf/releases/download/atf-$(ATF_VERSION)
+ATF_INSTALL_STAGING = YES
+ATF_LICENSE = BSD-2c, BSD-3c
+ATF_LICENSE_FILES = COPYING
+# Ships a beta libtool version hence our patch doesn't apply.
+ATF_AUTORECONF = YES
+# Do not install precompiled tests.
+ATF_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
+
+# ATF_SHELL defaults to the host's bash
+ATF_CONF_ENV = \
+ kyua_cv_getopt_plus=yes \
+ kyua_cv_attribute_noreturn=yes \
+ kyua_cv_getcwd_works=yes \
+ ATF_SHELL=/bin/sh
+
+$(eval $(autotools-package))
--
2.4.0
next prev parent reply other threads:[~2015-06-11 22:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 22:51 [Buildroot] [PATCH v5 0/3] kyua: new package and dependencies Sebastien Bourdelin
2015-06-11 22:51 ` Sebastien Bourdelin [this message]
2015-06-12 19:59 ` [Buildroot] [PATCH v5 1/3] atf: new package Thomas Petazzoni
2015-06-11 22:51 ` [Buildroot] [PATCH v5 2/3] lutok: " Sebastien Bourdelin
2015-06-12 19:34 ` Thomas Petazzoni
2015-06-12 19:45 ` Thomas Petazzoni
2015-06-12 23:04 ` Arnout Vandecappelle
2015-06-12 19:59 ` Thomas Petazzoni
2015-06-11 22:51 ` [Buildroot] [PATCH v5 3/3] kyua: " Sebastien Bourdelin
2015-06-12 20:02 ` Thomas Petazzoni
2015-06-12 23:17 ` Arnout Vandecappelle
2015-06-13 10:45 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434063093-14906-2-git-send-email-sebastien.bourdelin@savoirfairelinux.com \
--to=sebastien.bourdelin@savoirfairelinux.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.