Magellan Linux

Contents of /smage/trunk/core/libtommath/libtommath-1.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14010 - (show annotations) (download)
Thu Jul 2 12:13:03 2020 UTC (3 years, 9 months ago) by niro
File size: 1002 byte(s)
auto added: ver bump to 1.1.0-r1
1 # $Id$
2
3 PNAME="libtommath"
4 PVER="1.1.0"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="Highly optimized and portable routines for integer based number theoretic applications."
10 HOMEPAGE="http://www.libtom.net/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="ltm-${PVER}.tar.xz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild alx-split
18
19 SRC_URI=(
20 #http://www.libtom.net/files/${SRCFILE}
21 https://github.com/libtom/${PNAME}/releases/download/v${PVER}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 #UP2DATE="updatecmd ${HOMEPAGE} | grep -i ${PNAME}.*\(.*\) | sed 's:.*(\(.*\)).*:\1:;/^$/d'"
26 UP2SEPERATOR="v"
27 UP2EXCLUDE="RC"
28 UP2DATE="updatecmd https://github.com/libtom/${PNAME}/releases | highesttarball gz"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33 mmake -f makefile.shared IGNORE_SPEED=1 LIBPATH="/usr/$(mlibdir)" || die
34 }
35
36 alx_generic_src_install()
37 {
38 cd ${SRCDIR}
39 mmake -f makefile.shared DESTDIR=${BINDIR} LIBPATH="/usr/$(mlibdir)" install || die
40 minstalldocs LICENSE changes bn.pdf poster.pdf tommath.pdf || die
41 }