36 lines
820 B
Bash
36 lines
820 B
Bash
# Template file for 'socklog'
|
|
pkgname=socklog
|
|
version=2.1.1
|
|
revision=1
|
|
build_wrksrc="${pkgname}-${version}"
|
|
short_desc="Small and secure syslogd replacement for use with runit"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://smarden.org/socklog/"
|
|
distfiles="http://smarden.org/socklog/socklog-${version}.tar.gz"
|
|
checksum=eb1937241d6c7b2a0402b49ffdebf022bb2fcda3e00c1b1a17ae8bcf1e4a39ba
|
|
|
|
build_options="static"
|
|
|
|
do_build() {
|
|
if [ "$build_option_static" ]; then
|
|
LDFLAGS+=" -static"
|
|
fi
|
|
echo "$CC -D_GNU_SOURCE $CFLAGS" >src/conf-cc
|
|
echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >src/conf-ld
|
|
package/compile
|
|
}
|
|
|
|
do_install() {
|
|
for bin in command/*; do
|
|
vbin $bin
|
|
done
|
|
for man in man/*; do
|
|
vman $man
|
|
done
|
|
for doc in doc/*.html; do
|
|
vdoc $doc
|
|
done
|
|
vlicense package/COPYING
|
|
}
|