summaryrefslogtreecommitdiff
path: root/package/gpgme/Makefile
blob: f204502e9f50898d51f89e64f3f05257d2e680ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		gpgme
PKG_VERSION:=		1.7.1
PKG_RELEASE:=		1
PKG_HASH:=		d0abe1449395315eac37e4e45076bbb82732cedf94210937b37776e10cdc2bb6
PKG_DESCR:=		easy access to gnupg for applications
PKG_SECTION:=		libs/crypto
PKG_DEPENDS:=		libgpg-error libassuan
PKG_BUILDDEP:=		libgpg-error libassuan
PKG_URL:=		https://gnupg.org/related_software/gpgme/index.html
PKG_SITES:=		https://gnupg.org/ftp/gcrypt/gpgme/
PKG_OPTS:=		dev

DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.bz2

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,GPGME,gpgme,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

TARGET_CPPFLAGS+=	-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1

gpgme-install:
	$(INSTALL_DIR) $(IDIR_GPGME)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libgpgme*.so* \
		$(IDIR_GPGME)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk