Magellan Linux

Annotation of /smage/trunk/core/libgcrypt/libgcrypt-1.8.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14034 - (hide annotations) (download)
Fri Jul 3 07:01:43 2020 UTC (3 years, 10 months ago) by niro
File size: 1150 byte(s)
auto added: ver bump to 1.8.5-r2
1 niro 14034 # $Id$
2    
3     PNAME="libgcrypt"
4     PVER="1.8.5"
5     PBUILD="r2"
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.38"
14    
15     ALX_DEV_DEPEND=">= app-crypt/libgpg-error-dev-1.38"
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     }