Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libntru/
Date: Sun, 08 Apr 2018 22:42:32
Message-Id: 1523227311.555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d.monsieurp@gentoo
1 commit: 555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Apr 8 16:48:53 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 22:41:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=555f94df
7
8 dev-libs/libntru: remove old.
9
10 dev-libs/libntru/libntru-0.4.1.ebuild | 62 -----------------------------------
11 1 file changed, 62 deletions(-)
12
13 diff --git a/dev-libs/libntru/libntru-0.4.1.ebuild b/dev-libs/libntru/libntru-0.4.1.ebuild
14 deleted file mode 100644
15 index c676d0ff62b..00000000000
16 --- a/dev-libs/libntru/libntru-0.4.1.ebuild
17 +++ /dev/null
18 @@ -1,62 +0,0 @@
19 -# Copyright 1999-2014 Gentoo Foundation
20 -# Distributed under the terms of the GNU General Public License v2
21 -
22 -EAPI=5
23 -
24 -inherit eutils toolchain-funcs multilib multilib-minimal
25 -
26 -DESCRIPTION="C Implementation of NTRUEncrypt"
27 -HOMEPAGE="https://github.com/tbuktu/libntru"
28 -SRC_URI="https://github.com/tbuktu/libntru/archive/${PV}.tar.gz -> ${P}.tar.gz"
29 -
30 -LICENSE="BSD-2"
31 -SLOT="0"
32 -KEYWORDS="~amd64 ~x86"
33 -IUSE="examples static-libs"
34 -
35 -DEPEND="dev-lang/perl"
36 -
37 -src_prepare() {
38 - multilib_copy_sources
39 -
40 - _copy_test_dir() {
41 - cp -pr "${BUILD_DIR}" "${BUILD_DIR}-test" || die
42 - }
43 - multilib_foreach_abi _copy_test_dir
44 -}
45 -
46 -multilib_src_compile() {
47 - CFLAGS="${CFLAGS}" \
48 - emake \
49 - CC="$(tc-getCC)" \
50 - $(usex static-libs "libntru.a libntru.so" "") \
51 - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)"
52 -}
53 -
54 -src_test() {
55 - _test() {
56 - CFLAGS="${CFLAGS}" \
57 - emake CC="$(tc-getCC)" test -j1 -C "${BUILD_DIR}-test" \
58 - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)"
59 -
60 - }
61 -
62 - multilib_foreach_abi _test
63 -}
64 -
65 -multilib_src_install() {
66 - emake \
67 - DESTDIR="${ED}" \
68 - INST_LIBDIR="/usr/$(get_libdir)" \
69 - INST_DOCDIR="/usr/share/doc/${PF}" \
70 - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" \
71 - install $(usex static-libs install-static-lib "")
72 -}
73 -
74 -multilib_src_install_all() {
75 - einstalldocs
76 - if use examples ; then
77 - docinto examples
78 - dodoc src/hybrid.c
79 - fi
80 -}