25 lines
626 B
Bash
25 lines
626 B
Bash
# Template file for 'bftpd'
|
|
pkgname=bftpd
|
|
version=5.1
|
|
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=d0173b6c7ee2df202a270561b8fb470af8df37409a7eec87f3c333c393ee65ce
|
|
|
|
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
|
|
}
|