34 lines
861 B
Bash
34 lines
861 B
Bash
# Template file for 'twoftpd'
|
|
pkgname=twoftpd
|
|
version=1.43
|
|
revision=5
|
|
build_style=gnu-makefile
|
|
makedepends="bglibs-devel cvm-devel"
|
|
depends="sv-helper ucspi-tcp"
|
|
short_desc="Simple secure efficient FTP server"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://untroubled.org/twoftpd/"
|
|
distfiles="http://untroubled.org/twoftpd/twoftpd-${version}.tar.gz"
|
|
checksum=ed77d2f3020bdbbe1a0a7d9a84780f3525431300e5000901e95a982873e24dc3
|
|
system_accounts="ftp"
|
|
ftp_pgroup="nogroup"
|
|
nocross="deps are nocross"
|
|
|
|
do_configure() {
|
|
echo '/usr/bin' > conf-bin
|
|
echo '/usr/share/man' > conf-man
|
|
echo '/usr/include' > conf-include
|
|
echo '/usr/lib' > conf-lib
|
|
echo "$CC $LDFLAGS" > conf-ld
|
|
echo "$CC $CFLAGS" >conf-cc
|
|
}
|
|
|
|
do_install() {
|
|
make install install_prefix=${DESTDIR}
|
|
vsv twoftpd-anon
|
|
vdoc README
|
|
vdoc NEWS
|
|
vdoc ANNOUNCEMENT
|
|
}
|