Annotation of /smage/trunk/core/libtommath/libtommath-1.1.0-r1.smage2
Parent Directory | Revision Log
Revision 14011 -
(hide annotations)
(download)
Thu Jul 2 12:14:39 2020 UTC (3 years, 10 months ago) by niro
File size: 1023 byte(s)
Thu Jul 2 12:14:39 2020 UTC (3 years, 10 months ago) by niro
File size: 1023 byte(s)
auto added: ver bump to 1.1.0-r1
1 | niro | 14010 | # $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 | niro | 14011 | msetfeature "!check" |
18 | niro | 14010 | sminclude mbuild alx-split |
19 | |||
20 | SRC_URI=( | ||
21 | #http://www.libtom.net/files/${SRCFILE} | ||
22 | https://github.com/libtom/${PNAME}/releases/download/v${PVER}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | #UP2DATE="updatecmd ${HOMEPAGE} | grep -i ${PNAME}.*\(.*\) | sed 's:.*(\(.*\)).*:\1:;/^$/d'" | ||
27 | UP2SEPERATOR="v" | ||
28 | UP2EXCLUDE="RC" | ||
29 | UP2DATE="updatecmd https://github.com/libtom/${PNAME}/releases | highesttarball gz" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | mmake -f makefile.shared IGNORE_SPEED=1 LIBPATH="/usr/$(mlibdir)" || die | ||
35 | } | ||
36 | |||
37 | alx_generic_src_install() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | mmake -f makefile.shared DESTDIR=${BINDIR} LIBPATH="/usr/$(mlibdir)" install || die | ||
41 | minstalldocs LICENSE changes bn.pdf poster.pdf tommath.pdf || die | ||
42 | } |