Fresh pull from upstream
[librecmc/librecmc.git] / package / utils / px5g-standalone / Makefile
1 #
2 # Copyright (C) 2010-2014 Jo-Philipp Wich <xm@subsignal.org>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=px5g-standalone
11 PKG_RELEASE:=2
12
13 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/px5g-standalone
18   SECTION:=utils
19   CATEGORY:=Utilities
20   SUBMENU:=Encryption
21   TITLE:=X.509 certificate generator (standalone version)
22   MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
23   PROVIDES:=px5g
24 endef
25
26 define Package/px5g-standalone/description
27  Px5g is a tiny standalone X.509 certificate generator.
28  It suitable to create key files and certificates in DER
29  and PEM format for use with stunnel, uhttpd and others.
30 endef
31
32 define Package/px5g-standalone/install
33         $(INSTALL_DIR) $(1)/usr/sbin
34         $(INSTALL_BIN) $(PKG_BUILD_DIR)/px5g $(1)/usr/sbin/px5g
35 endef
36
37 $(eval $(call BuildPackage,px5g-standalone))