summaryrefslogtreecommitdiff
path: root/package/libksba/Makefile
blob: 1d056506889105404fcf4e8742dc34ec59528b2e (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
# 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:=		libksba
PKG_VERSION:=		1.6.5
PKG_RELEASE:=		1
PKG_HASH:=		a564628c574c99287998753f98d750babd91a4e9db451f46ad140466ef2a6d16
PKG_DESCR:=		working with X.509 certificates
PKG_SECTION:=		libs/crypto
PKG_DEPENDS:=		libgpg-error
PKG_BUILDDEP:=		libgpg-error
PKG_URL:=		https://www.gnupg.org/(fr)/related_software/libksba/index.html
PKG_SITES:=		https://www.gnupg.org/ftp/gcrypt/libksba/
PKG_OPTS:=		dev

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

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBKSBA,libksba,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

libksba-install:
	$(INSTALL_DIR) $(IDIR_LIBKSBA)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libksba*.so* \
		$(IDIR_LIBKSBA)/usr/lib

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