Annotation of /smage/trunk/core/libgcrypt/libgcrypt-1.8.3-r1.smage2
Parent Directory | Revision Log
Revision 11968 -
(hide annotations)
(download)
Fri Aug 17 09:49:01 2018 UTC (5 years, 8 months ago) by niro
File size: 1150 byte(s)
Fri Aug 17 09:49:01 2018 UTC (5 years, 8 months ago) by niro
File size: 1150 byte(s)
auto added: ver bump to 1.8.3-r1
1 | niro | 11968 | # $Id$ |
2 | |||
3 | PNAME="libgcrypt" | ||
4 | PVER="1.8.3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="app-crypt" | ||
8 | |||
9 | DESCRIPTION="Libgcrypt is GNU's basic cryptographic library." | ||
10 | HOMEPAGE="http://www.gnupg.org/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= app-crypt/libgpg-error-1.22" | ||
14 | |||
15 | ALX_DEV_DEPEND=">= app-crypt/libgpg-error-dev-1.22" | ||
16 | |||
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
19 | |||
20 | EMUL_LINUX_32=true | ||
21 | # only keep libs, bins should reside in dev pkg | ||
22 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" | ||
23 | sminclude multilib mbuild alx-split | ||
24 | |||
25 | SRC_URI=( | ||
26 | ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} | ||
27 | #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${SRCFILE} | ||
29 | ) | ||
30 | |||
31 | #UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball" | ||
32 | UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME} | highesttarball" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | # disable the padlock engine, on some compiler/Arch this may fail to build | ||
37 | mconfigure --disable-padlock-support || die | ||
38 | mmake || die | ||
39 | } | ||
40 | |||
41 | alx_generic_src_install() | ||
42 | { | ||
43 | mbuild_src_install | ||
44 | |||
45 | # fix some multilib issues | ||
46 | only-m32 sed -i 's:-L/usr/lib64::' ${BINDIR}/usr/lib/libgcrypt.la || die | ||
47 | } |