Contents of /smage/branches/alx07x-unstable/core/libtommath/libtommath-1.2.0-r1.smage2
Parent Directory | Revision Log
Revision 14652 -
(show annotations)
(download)
Tue Aug 4 11:40:33 2020 UTC (3 years, 8 months ago) by niro
File size: 1023 byte(s)
Tue Aug 4 11:40:33 2020 UTC (3 years, 8 months ago) by niro
File size: 1023 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="libtommath" |
4 | PVER="1.2.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 | msetfeature "!check" |
18 | 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 | } |