aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/wzdftpd-svn/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:26:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:27:59 +0000
commitdca0ad5e0ff29400f0752010544dcf758b4bba4f (patch)
tree0a3ee62e38abeeaa12885253fec2e34d8c760563 /unmaintained/wzdftpd-svn/APKBUILD
parent440b268ffe8bdc281286fea2d618820c08630f45 (diff)
downloadaports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.bz2
aports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.xz
rename unstable to unmaintained
stuff thats unmaintained could go here
Diffstat (limited to 'unmaintained/wzdftpd-svn/APKBUILD')
-rw-r--r--unmaintained/wzdftpd-svn/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/unmaintained/wzdftpd-svn/APKBUILD b/unmaintained/wzdftpd-svn/APKBUILD
new file mode 100644
index 0000000000..b9b4626564
--- /dev/null
+++ b/unmaintained/wzdftpd-svn/APKBUILD
@@ -0,0 +1,46 @@
+# This is an example APKBUILD file. Use this as a start to creating your own,
+# and remove these comments.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Contributor: Your Name <youremail@domain.com>
+pkgname=wzdftpd-svn
+pkgver=2040
+pkgrel=2
+pkgdesc="A portable, modular, small, and efficient FTP server"
+url="http://www.wzdftpd.net"
+license='GPL'
+depends=
+makedepends="cmake mysql-dev sqlite-dev tcl-dev openssl-dev flex"
+source="http://alpine.nethq.org/clandmeter/src/wzdftpd-svn2040.tar.gz
+wzdftpd-svn.initd"
+subpackages="$pkgname-doc"
+
+build() {
+ mkdir "$srcdir/${pkgname}"
+ mv "$srcdir/wzdftpd-src" "$srcdir/${pkgname}/"
+ cd "$srcdir/${pkgname}/"
+ cmake \
+ -D CMAKE_INSTALL_PREFIX:PATH=/usr \
+ -D WITH_DUPECHECK:BOOL=ON \
+ -D WITH_SFV:BOOL=ON \
+ -D BUILD_TESTING:BOOL=OFF \
+ -D WITH_Zeroconf:BOOL=ON \
+ -D TCL_LIBRARY:FILEPATH=/usr/lib/libtcl8.5.so \
+ -D WITH_PAM:BOOL=OFF \
+ -D WITH_PerlDev:BOOL=OFF \
+ -D CONF_INSTALL_PATH:PATH=/etc/wzdftpd \
+ ./wzdftpd-src || return 1
+ make || return 1
+ make DESTDIR="$pkgdir/" install
+ mv $pkgdir/usr/var $pkgdir/
+ sed -i -e 's|usr/var|var|' \
+ -e 's|usr/etc|etc|' \
+ -e 's|usr//etc|etc|' \
+ -e 's|#pid_file|pid_file|' \
+ $pkgdir/etc/wzdftpd/wzd.cfg.sample
+ install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/wzdftpd
+}
+
+md5sums="4bdb2fcaa4ca316261e9f77380818769 wzdftpd-svn2040.tar.gz
+ae2b7497cc7729bfaf346ba0d3b607d2 wzdftpd-svn.initd"