Magellan Linux

Annotation of /branches/R11-unstable/core/libgcrypt/libgcrypt-1.8.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32167 - (hide annotations) (download)
Mon Apr 29 11:47:44 2019 UTC (5 years ago) by niro
File size: 990 byte(s)
-release branches/R11-unstable
1 niro 31538 # $Id$
2    
3     PNAME="libgcrypt"
4     PVER="1.8.4"
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     SRCFILE="${PNAME}-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     EMUL_LINUX_32=true
19     sminclude multilib mbuild
20    
21     SRC_URI=(
22     ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
23     #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     #UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball"
28     UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME} | highesttarball"
29    
30     src_compile()
31     {
32     # disable the padlock engine, on some compiler/Arch this may fail to build
33     mconfigure --disable-padlock-support || die
34     mmake || die
35     }
36    
37     src_install()
38     {
39     mbuild_src_install
40    
41     # fix some multilib issues
42     only-m32 sed -i 's:-L/usr/lib64::' ${BINDIR}/usr/lib/libgcrypt.la || die
43     }