mpc: update to 0.35
[feed/packages.git] / utils / crconf / Makefile
1 #
2 # Copyright (C) 2017 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=crconf
10 PKG_RELEASE:=1
11
12 PKG_SOURCE_PROTO:=git
13 PKG_SOURCE_URL:=https://git.code.sf.net/p/crconf/code
14 PKG_SOURCE_DATE:=2018-03-02
15 PKG_SOURCE_VERSION:=8bd996400d087028ba56b724abc1f5b378eaa77f
16 PKG_MIRROR_HASH:=454307cb40a8743b53933cbdd4d9367996ffcf1bd2946413d2862cf050df3bca
17
18 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
19 PKG_LICENSE:=GPL-2.0-only
20
21 PKG_INSTALL:=1
22 PKG_BUILD_PARALLEL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/crconf
27 SECTION:=utils
28 CATEGORY:=Utilities
29 TITLE:=Linux crypto layer configuraton tool
30 URL:=https://sourceforge.net/projects/crconf
31 endef
32
33 define Package/crconf/description
34 Linux crypto layer configuraton tool.
35 Use this to manipulate kernel Crypto API/framework stuff,
36 like drivers, templates, etc.
37 Example: https://wiki.strongswan.org/projects/strongswan/wiki/Pcrypt
38 Most interesting stuff you can find on https://wiki.strongswan.org
39 endef
40
41 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -I../include"
42
43 define Package/crconf/install
44 $(INSTALL_DIR) $(1)/sbin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/crconf $(1)/sbin
46 endef
47
48 $(eval $(call BuildPackage,crconf))