summaryrefslogtreecommitdiff
path: root/package/beecrypt/Makefile
blob: 258d070ba355fdc68f23e11d909f553f34ace93c (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 $(TOPDIR)/rules.mk

PKG_NAME:=		beecrypt
PKG_VERSION:=		4.2.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		8441c014170823f2dff97e33df55af1e
PKG_DESCR:=		cryptography toolkit
PKG_SECTION:=		crypto
PKG_URL:=		http://beecrypt.sourceforge.net/
PKG_SITES:=		http://sourceforge.net/projects/beecrypt/files/beecrypt/$(PKG_VERSION)/
PKG_NEED_CXX:=		1

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,BEECRYPT,beecrypt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_CFLAGS:=         $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_LDFLAGS+=        -L$(STAGING_DIR)/usr/lib64
CONFIGURE_ARGS+=	--without-cplusplus \
			--without-python \
			--without-java

beecrypt-install:
	$(INSTALL_DIR) $(IDIR_BEECRYPT)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libbeecrypt*.so* \
		$(IDIR_BEECRYPT)/usr/lib

include ${TOPDIR}/mk/pkg-bottom.mk