# Description: The Reliable, High Performance TCP/HTTP Load Balancer # URL: https://www.haproxy.org/ # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: lua name=haproxy version=3.1.1 release=1 source=( https://www.haproxy.org/download/${version%.*}/src/${name}-${version}.tar.gz haproxy.init ) build () { cd ${name}-${version} make CPU=generic TARGET=linux-glibc \ PREFIX=/usr \ USE_GETADDRINFO=1 \ USE_OPENSSL=1 \ USE_PCRE=1 USE_PCRE_JIT=1 \ USE_ZLIB=1 \ USE_LUA=1 make PREFIX=/usr DESTDIR=$PKG install # Cleanup rm -r ${PKG}/usr/doc # Install the init script install -D -m 755 ${SRC}/haproxy.init ${PKG}/etc/rc.d/haproxy } # vim: set ft=sh ts=2 et: