# Contributor: Douglas Haber # Maintainer: pkgname=pure-ftpd pkgver=1.0.30 pkgrel=0 pkgdesc="Pure FTPD FTP daemon" url="http://pureftpd.org" arch="all" license="GPL" depends= depends_dev= makedepends="$depends_dev" install="" subpackages="" source="http://download.pureftpd.org/pub/pure-ftpd/releases/$pkgname-$pkgver.tar.gz pure-ftpd.initd" _builddir="src/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --without-humor --without-unicode --with-minimal --with-throttling || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -m755 -D ../$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname || return 1 } md5sums="29e2a68e756d09f4aff8f4f76435b020 pure-ftpd-1.0.30.tar.gz 3608b0f85e7731aec64c251f9b73907a pure-ftpd.initd"