By ericonr: - move all Makefile changes to a vsed in post_configure; more semantically correct - slight cleanup in allowing do_install from the build style to happen and only install extras in post_install Closes: #31290 [via git-merge-pr]
27 lines
612 B
Bash
27 lines
612 B
Bash
# Template file for 'bftpd'
|
|
pkgname=bftpd
|
|
version=5.7
|
|
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.0-only"
|
|
homepage="http://bftpd.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
|
|
checksum=a543ce62a8092a7b5065146875cc9878534b09dc4a853f2c2b56e2de397a6f4b
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
post_configure() {
|
|
vsed -i -e "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" \
|
|
-e "s|sbin|bin|g" \
|
|
Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vsv bftpd
|
|
vconf bftpd.conf
|
|
}
|