mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
libgabe: remove package
libgabe has no updates for 6 years, and the only dependent (gnunet-reclaim) no longer needs it. Signed-off-by: Yanase Yuki <dev@zpc.st>
This commit is contained in:
committed by
Daniel Golle
parent
f24b634ea9
commit
91d21b4ea7
@@ -1,47 +0,0 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=libgabe
|
|
||||||
PKG_VERSION:=1.0
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/schanzen/libgabe/tar.gz/v$(PKG_VERSION)?
|
|
||||||
PKG_HASH:=2a8c151a90c9ad8eaad073c8ad1482d66875e3433b0b4fd1e08424c0fc89e877
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
||||||
PKG_LICENSE:=GPLv2
|
|
||||||
PKG_LICENSE_FILES:=COPYING
|
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
|
||||||
PKG_INSTALL:=1
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define Package/libgabe
|
|
||||||
SECTION:=libs
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
DEPENDS:=+glib2 +libgcrypt +libgmp +libpbc
|
|
||||||
TITLE:=Ciphertext-Policy Attribute-Based Encryption
|
|
||||||
URL:=https://github.com/schanzen/libgabe
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libgabe/description
|
|
||||||
This is a fork of the libbswabe library by John Bethencourt
|
|
||||||
(http://hms.isi.jhu.edu/acsc/cpabe/) replacing openssl with libgcrypt
|
|
||||||
and fixing some bugs.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libgabe/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libgabe))
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
From 9a0e73c5f6cbcf825eced89d26273a24f7266522 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Schanzenbach, Martin" <martin.schanzenbach@aisec.fraunhofer.de>
|
|
||||||
Date: Sun, 30 Sep 2018 20:38:37 +0200
|
|
||||||
Subject: [PATCH] shared library
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile.in | 13 ++++++-------
|
|
||||||
1 file changed, 6 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
--- a/Makefile.in
|
|
||||||
+++ b/Makefile.in
|
|
||||||
@@ -18,13 +18,12 @@ LDFLAGS = @LDFLAGS@ \
|
|
||||||
|
|
||||||
DISTNAME = @PACKAGE_TARNAME@-@PACKAGE_VERSION@
|
|
||||||
|
|
||||||
-all: libgabe.a TAGS
|
|
||||||
+all: libgabe.so TAGS
|
|
||||||
|
|
||||||
# compilation and library making
|
|
||||||
|
|
||||||
-libgabe.a: core.o misc.o
|
|
||||||
- rm -f $@
|
|
||||||
- ar rc $@ $^
|
|
||||||
+libgabe.so: core.o misc.o
|
|
||||||
+ $(CC) -shared -o $@ $^
|
|
||||||
|
|
||||||
# test: test.o libgabe.a
|
|
||||||
# $(CC) -o $@ $(LDFLAGS) $^
|
|
||||||
@@ -44,14 +43,14 @@ dist: AUTHORS COPYING INSTALL NEWS READM
|
|
||||||
tar zc $(DISTNAME) > $(DISTNAME).tar.gz
|
|
||||||
rm -rf $(DISTNAME)
|
|
||||||
|
|
||||||
-install: libgabe.a gabe.h
|
|
||||||
+install: libgabe.so gabe.h
|
|
||||||
$(top_srcdir)/mkinstalldirs -m 755 $(DESTDIR)$(libdir)
|
|
||||||
$(top_srcdir)/mkinstalldirs -m 755 $(DESTDIR)$(includedir)
|
|
||||||
- $(top_srcdir)/install-sh -m 755 libgabe.a $(DESTDIR)$(libdir)
|
|
||||||
+ $(top_srcdir)/install-sh -m 755 libgabe.so $(DESTDIR)$(libdir)
|
|
||||||
$(top_srcdir)/install-sh -m 644 gabe.h $(DESTDIR)$(includedir)
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
- /bin/rm -f $(DESTDIR)$(libdir)/libgabe.a
|
|
||||||
+ /bin/rm -f $(DESTDIR)$(libdir)/libgabe.so
|
|
||||||
/bin/rm -f $(DESTDIR)$(includedir)/gabe.h
|
|
||||||
|
|
||||||
# development and meta stuff
|
|
||||||
Reference in New Issue
Block a user