aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/wput/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/wput/APKBUILD')
-rw-r--r--unmaintained/wput/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/unmaintained/wput/APKBUILD b/unmaintained/wput/APKBUILD
new file mode 100644
index 0000000000..3dc01c950e
--- /dev/null
+++ b/unmaintained/wput/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=wput
+pkgver=0.6.2
+pkgrel=2
+pkgdesc="A command line tool to upload files to FTP site"
+url="http://wput.sourceforge.net/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="gnutls-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz
+ $pkgname-destdir.patch"
+
+_builddir="$srcdir"/$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 \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --disable-g-switch \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a14c4c13d91d04d6119bdc977e8a8bdf wput-0.6.2.tgz
+6110908786d4b011526a6a77d6429e4f wput-destdir.patch"
+sha256sums="229d8bb7d045ca1f54d68de23f1bc8016690dc0027a16586712594fbc7fad8c7 wput-0.6.2.tgz
+fc9639d314dedd826d4543b747d8c025f188cdf15f84653e45ae4e2a4fd95639 wput-destdir.patch"
+sha512sums="e1d0fb8570cbda44c97215ee1a021a9867f2e91323b3d7f7df1d7fd68a1b2aba40a7f3068e5e85e8c736b1dba1fba62df375af99e3fb96cd0fd414b139c641bd wput-0.6.2.tgz
+d464d4395ffab7f1d8f2c0b293404b05979eb1f63600169b5344c286ecbf1209e20682c957a5319c7246d130438533f80484b30e4664e66fbc9cec6cebbb7eaf wput-destdir.patch"