2 # Copyright (C) 2010-2014 Jo-Philipp Wich <xm@subsignal.org>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=px5g-standalone
13 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
14 PKG_CHECK_FORMAT_SECURITY:=0
16 include $(INCLUDE_DIR)/package.mk
18 define Package/px5g-standalone
21 TITLE:=Standalone X.509 certificate generator (standalone version)
22 MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
25 define Package/px5g-standalone/description
26 Px5g is a tiny standalone X.509 certificate generator.
27 It suitable to create key files and certificates in DER
28 and PEM format for use with stunnel, uhttpd and others.
32 mkdir -p $(PKG_BUILD_DIR)
33 $(CP) ./src/* $(PKG_BUILD_DIR)/
36 define Package/px5g-standalone/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/px5g $(1)/usr/sbin/px5g
41 $(eval $(call BuildPackage,px5g-standalone))