From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-util/bam/Manifest | 5 +++ dev-util/bam/bam-0.4.0-r1.ebuild | 48 ++++++++++++++++++++++++ dev-util/bam/files/0.4.0/Makefile | 22 +++++++++++ dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch | 11 ++++++ dev-util/bam/metadata.xml | 8 ++++ 5 files changed, 94 insertions(+) create mode 100644 dev-util/bam/Manifest create mode 100644 dev-util/bam/bam-0.4.0-r1.ebuild create mode 100644 dev-util/bam/files/0.4.0/Makefile create mode 100644 dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch create mode 100644 dev-util/bam/metadata.xml (limited to 'dev-util/bam') diff --git a/dev-util/bam/Manifest b/dev-util/bam/Manifest new file mode 100644 index 000000000000..ed2042005910 --- /dev/null +++ b/dev-util/bam/Manifest @@ -0,0 +1,5 @@ +AUX 0.4.0/Makefile 508 BLAKE2B e3da9902bfb7252513b106df127b299ac80a595a9134be88622d1fdefec3d2ee9ebbd037bbfe19a045d1698cced6bc8c0eb919bae8a4ef59486f0a5bd9df3fb8 SHA512 9738df23d15a19aec675d9988163c3e64e028b51e77a555509273496358061af7e851a244561cbaa8dfa3bb2e5b8be54b1b5b6517da19800d13203fe2204b577 +AUX 0.4.0/bam-0.4.0-test.py.patch 266 BLAKE2B 48ea5564bf8c59f708f26f72a98fcd1f9f365c465ab4f79ed58f88d837bcdce3e7ceb24ab2e9b314bb6880d1302e48fa8ceeb818fe06bf9a32e2ba278a7a9d39 SHA512 5e6e3106f05ce2a3fa8cd6a51d9125700f3c962a7f5eeabbaf7cc2c64b98ebbb508f109c9587efc8ec58f377b4a78407e81d3deaac68e0bf220e92c1b78705bb +DIST bam-0.4.0.tar.bz2 164033 BLAKE2B 75c3ccc2c0a22e793ebaf116257ad735db097870b84dd3cb7e9c12068e97b38ae2317c148f04b3d9b45e39a415e595d519d003c6c58af1230ab066538f93e2de SHA512 10ba53b05ac1604a9e9a01f4c008a8cbdc4e4e9df2fc039c8ca59251461e4c5f95770b5b72945d07693db7abe7cd312bc38725686b4d509d5dc21a585fffc810 +EBUILD bam-0.4.0-r1.ebuild 950 BLAKE2B e56940f3136bd376cd7840aa3f2a2f1e2580b2a857f899707dde46d552687178ff6130abf2514b603a4c00a82be7e4027b1e91cabf0cdd5ea29c4a8270e473e1 SHA512 f87fe39e0acbaf0cc5c798e01e6428da5fefe03ac71c8be31b750908be219358b4be2218fadb282ed163b82be5839427ef16ceafc3bb505629f20a3f1863723f +MISC metadata.xml 250 BLAKE2B bd1ea3247aed63356bdac68d882e6cff2c996f3052a4590dd0a404dd0838bdc6b512db7ecef1563aa9d508f995d13d02bdfab7119cc3822b1c75bcd1425283cb SHA512 abe615c77678bf004cbb59192db454cbd48846b5715037375f15dcc44b331da47f462bb625251ef8cb2e06c809dfc8abd69bb997c827ceedbaef6b54128c0834 diff --git a/dev-util/bam/bam-0.4.0-r1.ebuild b/dev-util/bam/bam-0.4.0-r1.ebuild new file mode 100644 index 000000000000..96a42af25130 --- /dev/null +++ b/dev-util/bam/bam-0.4.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 toolchain-funcs + +DESCRIPTION="Fast and flexible Lua-based build system" +HOMEPAGE="https://matricks.github.com/bam/" +SRC_URI="https://github.com/downloads/matricks/${PN}/${P}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc test" + +RDEPEND="dev-lang/lua:=" +DEPEND="${RDEPEND} + doc? ( ${PYTHON_DEPS} ) + test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_prepare() { + cp "${FILESDIR}"/${PV}/Makefile "${S}"/Makefile || die "cp failed" + epatch "${FILESDIR}"/${PV}/${P}-test.py.patch + tc-export CC +} + +src_compile() { + emake ${PN} + if use doc; then + "${PYTHON}" scripts/gendocs.py || die "doc generation failed" + fi +} + +src_install() { + dobin ${PN} + if use doc; then + dohtml docs/${PN}{.html,_logo.png} + fi +} diff --git a/dev-util/bam/files/0.4.0/Makefile b/dev-util/bam/files/0.4.0/Makefile new file mode 100644 index 000000000000..d64f43abcd11 --- /dev/null +++ b/dev-util/bam/files/0.4.0/Makefile @@ -0,0 +1,22 @@ +LIBS += -lm -lpthread -llua -ldl +TARGETS = txt2c internal_base bam +BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c)) +TXT2C_LUA = $(wildcard src/*.lua) + +all: $(TARGETS) + +txt2c: src/tools/txt2c + +internal_base: src/internal_base.h + +src/internal_base.h: + src/tools/txt2c $(TXT2C_LUA) > src/internal_base.h + +bam: txt2c internal_base $(BAM_OBJ) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BAM_OBJ) $(LIBS) + +test: $(TARGETS) + python scripts/test.py + +clean: + rm -f $(BAM_OBJ) $(TARGETS) src/internal_base.h src/tools/txt2c diff --git a/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch b/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch new file mode 100644 index 000000000000..5ea2acd3e440 --- /dev/null +++ b/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch @@ -0,0 +1,11 @@ +--- scripts/test.py.old 2010-03-22 19:23:23.000000000 +0100 ++++ scripts/test.py 2010-03-22 19:23:43.000000000 +0100 +@@ -178,6 +178,8 @@ + print "FAILED TESTS:" + for t in failed_tests: + print "\t"+t ++ sys.exit(1) + else: + print "ALL TESTS PASSED!" ++ sys.exit(0) + diff --git a/dev-util/bam/metadata.xml b/dev-util/bam/metadata.xml new file mode 100644 index 000000000000..3d17928aa2c6 --- /dev/null +++ b/dev-util/bam/metadata.xml @@ -0,0 +1,8 @@ + + + + + + downloads/matricks + + -- cgit v1.2.3