wok view easy-rsa/receipt @ rev 22418

libxfce4util: build fails for 4.14, using last release 4.12: error: expected ')' before 'GObject'
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 15 08:33:18 2019 +0000 (2019-12-15)
parents 8c7a00fa1a66
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="easy-rsa"
4 VERSION="3.0.6"
5 CATEGORY="security"
6 SHORT_DESC="A Shell-based CA Utility"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/OpenVPN/easy-rsa"
11 WGET_URL="https://github.com/OpenVPN/easy-rsa/archive/v$VERSION.tar.gz"
13 DEPENDS="openssl"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $install/usr/share $fs/usr/share $fs/usr/bin
19 cp -a $src/doc $install/usr/share
20 cp -a $src/easyrsa${VERSION%%.*} $fs/usr/share/easy-rsa
21 cat > $fs/usr/bin/make-cadir <<EOT
22 #!/bin/sh
24 [ -e "\${1:-.}" ] && echo "Usage: \$0 DIRECTORY_TO_CREATE" && exit 1
26 mkdir -m 700 -p "\$1"
27 ln -s /usr/share/easy-rsa/easyrsa "\$1"
28 ln -s /usr/share/easy-rsa/x509-types "\$1"
29 cp /usr/share/easy-rsa/openssl-easyrsa.cnf "\$1"
30 cp /usr/share/easy-rsa/vars.example "\$1/vars"
31 EOT
32 chmod +x $fs/usr/bin/make-cadir
33 }