41 lines
887 B
Bash
41 lines
887 B
Bash
# Template file for 'ipsvd'
|
|
pkgname=ipsvd
|
|
version=1.0.0
|
|
revision=1
|
|
build_wrksrc="${pkgname}-${version}"
|
|
short_desc="Set of internet protocol service daemons for Unix"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://smarden.org/ipsvd"
|
|
distfiles="http://smarden.org/ipsvd/ipsvd-${version}.tar.gz"
|
|
checksum=ef7a725bc85acb5d09ab57658385bb470b3e4da5a4ffc88b5da6c6bd37d01fad
|
|
patch_args="-Np1 --directory=${build_wrksrc}"
|
|
|
|
do_configure() {
|
|
echo "$CC $CFLAGS" > src/conf-cc
|
|
echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" > src/conf-ld
|
|
}
|
|
|
|
do_build() {
|
|
package/compile
|
|
}
|
|
|
|
do_install() {
|
|
# sslio and sslsvd are not compiled (matrixssl is required).
|
|
rm -r man/{sslio,sslsvd}* doc/{sslio,sslsvd}*
|
|
|
|
for bin in command/*; do
|
|
vbin "$bin";
|
|
done
|
|
|
|
for man in man/*; do
|
|
vman "$man";
|
|
done
|
|
|
|
for doc in doc/*; do
|
|
vdoc "$doc";
|
|
done
|
|
|
|
vlicense package/COPYING
|
|
}
|