25 lines
628 B
Bash
25 lines
628 B
Bash
# Template file for 'bftpd'
|
|
pkgname=bftpd
|
|
version=4.6
|
|
revision=1
|
|
wrksrc="$pkgname"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libz"
|
|
makedepends="zlib-devel"
|
|
short_desc="A simple FTP server"
|
|
maintainer="Norbert Vegh <vegh@norvegh.com>"
|
|
license="GPL-2"
|
|
homepage="http://bftpd.sourceforge.net/"
|
|
checksum=071c7df63062cb707b91cb80fe07019add3a9e1b3527a8b479f044e0af6aa45e
|
|
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
|
|
|
|
pre_build() {
|
|
sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
|
|
}
|
|
|
|
do_install() {
|
|
sed -i 's,sbin,bin,g' Makefile
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
vsv bftpd
|
|
vconf bftpd.conf
|
|
}
|