2015-05-14 21:27:31 +02:00
|
|
|
# Template file for 'bftpd'
|
|
|
|
pkgname=bftpd
|
|
|
|
version=4.4
|
2016-05-25 07:50:00 +02:00
|
|
|
revision=4
|
2015-05-21 14:26:05 +02:00
|
|
|
wrksrc="$pkgname"
|
|
|
|
build_style=gnu-configure
|
2015-05-21 14:28:36 +02:00
|
|
|
configure_args="--enable-libz"
|
2015-05-21 14:26:05 +02:00
|
|
|
makedepends="zlib-devel"
|
2015-05-14 21:27:31 +02:00
|
|
|
short_desc="A simple FTP server"
|
|
|
|
maintainer="Norbert Vegh <vegh@norvegh.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://bftpd.sourceforge.net/"
|
|
|
|
checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741
|
2016-05-25 07:50:00 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
|
|
|
|
}
|
2015-05-14 21:27:31 +02:00
|
|
|
|
2015-05-21 14:28:36 +02:00
|
|
|
do_install() {
|
|
|
|
sed -i 's,sbin,bin,g' Makefile
|
|
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
2015-05-14 21:27:31 +02:00
|
|
|
vsv bftpd
|
2015-05-15 09:26:09 +02:00
|
|
|
vconf bftpd.conf
|
2015-05-14 21:27:31 +02:00
|
|
|
}
|