diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-04-08 18:48:53 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-04-09 00:41:51 +0200 |
commit | 555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d (patch) | |
tree | a67d64bceba463cb629df1a0348fd5f88b73e08a /dev-libs | |
parent | dev-libs/libkpass: remove old. (diff) | |
download | gentoo-555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d.tar.gz gentoo-555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d.tar.bz2 gentoo-555f94dfef0ec8408c05a7d5fc4cb9c95b46d08d.zip |
dev-libs/libntru: remove old.
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libntru/libntru-0.4.1.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-libs/libntru/libntru-0.4.1.ebuild b/dev-libs/libntru/libntru-0.4.1.ebuild deleted file mode 100644 index c676d0ff62b7..000000000000 --- a/dev-libs/libntru/libntru-0.4.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils toolchain-funcs multilib multilib-minimal - -DESCRIPTION="C Implementation of NTRUEncrypt" -HOMEPAGE="https://github.com/tbuktu/libntru" -SRC_URI="https://github.com/tbuktu/libntru/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples static-libs" - -DEPEND="dev-lang/perl" - -src_prepare() { - multilib_copy_sources - - _copy_test_dir() { - cp -pr "${BUILD_DIR}" "${BUILD_DIR}-test" || die - } - multilib_foreach_abi _copy_test_dir -} - -multilib_src_compile() { - CFLAGS="${CFLAGS}" \ - emake \ - CC="$(tc-getCC)" \ - $(usex static-libs "libntru.a libntru.so" "") \ - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" -} - -src_test() { - _test() { - CFLAGS="${CFLAGS}" \ - emake CC="$(tc-getCC)" test -j1 -C "${BUILD_DIR}-test" \ - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" - - } - - multilib_foreach_abi _test -} - -multilib_src_install() { - emake \ - DESTDIR="${ED}" \ - INST_LIBDIR="/usr/$(get_libdir)" \ - INST_DOCDIR="/usr/share/doc/${PF}" \ - MACHINE="$(if [[ ${ABI} == x86 ]] ; then echo i386 ; else echo x86_64 ; fi)" \ - install $(usex static-libs install-static-lib "") -} - -multilib_src_install_all() { - einstalldocs - if use examples ; then - docinto examples - dodoc src/hybrid.c - fi -} |