25 lines
626 B
Bash
25 lines
626 B
Bash
# Template file for 'bftpd'
|
|
pkgname=bftpd
|
|
version=5.2
|
|
revision=1
|
|
wrksrc="$pkgname"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libz"
|
|
makedepends="zlib-devel"
|
|
short_desc="Simple FTP server"
|
|
maintainer="Norbert Vegh <vegh@norvegh.com>"
|
|
license="GPL-2"
|
|
homepage="http://bftpd.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
|
|
checksum=7e6259f8eada88ef598df4c1517fa260c798ad2361d9b4627b97ff2125ddaa4e
|
|
|
|
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
|
|
}
|