root/trunk/freewrt/package/gnutls/Makefile

Revision 3569, 1.7 kB (checked in by tg, 11 months ago)

update GnuTLS, mostly From: Simon Josefsson <simon@josefsson.org>
(upstream author)

Line 
1 # $FreeWRT$
2 #-
3 # This file is part of the FreeWRT project. FreeWRT is copyrighted
4 # material, please see the LICENCE file in the top-level directory
5 # or at http://www.freewrt.org/licence for details.
6
7 include ${TOPDIR}/rules.mk
8
9 PKG_NAME:=              gnutls
10 PKG_VERSION:=           2.0.0
11 PKG_RELEASE:=           1
12 PKG_MD5SUM:=            181b2ff554a83e6cf85505ea16699d39
13 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2
14 MASTER_SITES:=          http://josefsson.org/gnutls/releases/ \
15                         http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
16                         ftp://ftp.gnutls.org/pub/gnutls/ \
17                         ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \
18                         ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
19
20 include ${TOPDIR}/mk/package.mk
21
22 $(eval $(call PKG_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
23 $(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
24 $(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
25 $(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
26 $(eval $(call PKG_template,LIBGNUTLSXX,libgnutlsxx,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
27
28 CONFIGURE_STYLE=        gnu
29 CONFIGURE_ARGS+=        --without-libopencdk-prefix \
30                         --without-libz-prefix
31 BUILD_STYLE=            auto
32 INSTALL_STYLE=          auto
33
34 post-install:
35         cd ${WRKINST} && \
36          ${PCP} usr/lib/libgnutls.so.* ${IDIR_LIBGNUTLS}/ && \
37          ${PCP} usr/lib/libgnutls-extra.so.* ${IDIR_LIBGNUTLS_EXTRA}/ && \
38          ${PCP} usr/lib/libgnutls-openssl.so.* ${IDIR_LIBGNUTLS_OPENSSL}/ && \
39          ${PCP} usr/lib/libgnutlsxx.so.* ${IDIR_LIBGNUTLSXX}/ && \
40          ${PCP} usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \
41             ${IDIR_GNUTLS_UTILS}/
42
43 include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the browser.