Skip to content

Commit

Permalink
dev-libs/libtompoly: EAPI=7 bump
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/686776
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
  • Loading branch information
mm1ke committed May 26, 2019
1 parent 1d02966 commit 7b00013
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions dev-libs/libtompoly/libtompoly-0.04-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="portable ISO C library for polynomial basis arithmetic"
HOMEPAGE="http://www.libtom.net/"
SRC_URI="https://github.com/libtom/libtompoly/releases/download/${PV}/ltp-${PV}.tar.bz2"

LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="dev-libs/libtommath"
RDEPEND="${DEPEND}"

src_prepare() {
default
sed -i \
-e 's:\<ar\>:$(AR):' \
-e "/^LIBPATH/s:/lib:/$(get_libdir):" \
makefile || die
tc-export AR CC
}

src_install() {
default
dodoc changes.txt pb.pdf
docinto demo ; dodoc demo/demo.c
}

0 comments on commit 7b00013

Please sign in to comment.