Contents of /smage/trunk/deprecated/libgcrypt/libgcrypt-1.8.6-r1.smage2
Parent Directory | Revision Log
Revision 16224 -
(show annotations)
(download)
Thu Sep 21 14:28:33 2023 UTC (12 months ago) by niro
File size: 1150 byte(s)
Thu Sep 21 14:28:33 2023 UTC (12 months ago) by niro
File size: 1150 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="libgcrypt" |
4 | PVER="1.8.6" |
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.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 | } |