Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
inherit toolchain-funcs |
6 |
inherit autotools toolchain-funcs |
7 |
|
7 |
|
8 |
DESCRIPTION="LibTomCrypt is a comprehensive, modular and portable cryptographic toolkit" |
8 |
DESCRIPTION="LibTomCrypt is a comprehensive, modular and portable cryptographic toolkit" |
9 |
HOMEPAGE="https://www.libtom.net/LibTomCrypt/ https://github.com/libtom/libtomcrypt" |
9 |
HOMEPAGE="https://www.libtom.net/LibTomCrypt/ https://github.com/libtom/libtomcrypt" |
Lines 39-44
Link Here
|
39 |
"${FILESDIR}"/${P}-slibtool.patch |
39 |
"${FILESDIR}"/${P}-slibtool.patch |
40 |
) |
40 |
) |
41 |
|
41 |
|
|
|
42 |
src_prepare() { |
43 |
default |
44 |
|
45 |
# need libtool for cross compilation, bug #376643 |
46 |
cat <<-EOF > configure.ac |
47 |
AC_INIT(libtommath, 0) |
48 |
AM_INIT_AUTOMAKE |
49 |
LT_INIT |
50 |
AC_CONFIG_FILES(Makefile) |
51 |
AC_OUTPUT |
52 |
EOF |
53 |
|
54 |
touch NEWS README AUTHORS ChangeLog Makefile.am || die |
55 |
|
56 |
eautoreconf |
57 |
|
58 |
export LIBTOOL="${S}"/libtool |
59 |
} |
60 |
|
42 |
mymake() { |
61 |
mymake() { |
43 |
# Standard boilerplate |
62 |
# Standard boilerplate |
44 |
# Upstream use homebrewed makefiles |
63 |
# Upstream use homebrewed makefiles |
Lines 78-83
Link Here
|
78 |
CFLAGS="${CFLAGS} ${enabled_features[*]}" \ |
97 |
CFLAGS="${CFLAGS} ${enabled_features[*]}" \ |
79 |
CC="$(tc-getCC)" \ |
98 |
CC="$(tc-getCC)" \ |
80 |
AR="$(tc-getAR)" \ |
99 |
AR="$(tc-getAR)" \ |
|
|
100 |
LTCC="$(tc-getCC)" \ |
81 |
RANLIB="$(tc-getRANLIB)" \ |
101 |
RANLIB="$(tc-getRANLIB)" \ |
82 |
LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
102 |
LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
83 |
INCPATH="${EPREFIX}/usr/include" \ |
103 |
INCPATH="${EPREFIX}/usr/include" \ |