aboutsummaryrefslogtreecommitdiffstats
path: root/main/cadaver
diff options
context:
space:
mode:
Diffstat (limited to 'main/cadaver')
-rw-r--r--main/cadaver/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/cadaver/APKBUILD b/main/cadaver/APKBUILD
new file mode 100644
index 0000000000..a649383870
--- /dev/null
+++ b/main/cadaver/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
+pkgname=cadaver
+pkgver=0.23.3
+pkgrel=1
+pkgdesc="Cadaver is a command line webDAV client for Linux"
+url="http://webdav.org/cadaver/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="gettext-dev libproxy-dev openssl-dev"
+install=""
+subpackages="$pkgname-lang $pkgname-doc"
+source="http://webdav.org/cadaver/${pkgname}-${pkgver}.tar.gz"
+
+_builddir=${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ update_config_sub || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-ssl=openssl \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make prefix=$pkgdir/usr install
+}
+
+md5sums="502ecd601e467f8b16056d2acca39a6f cadaver-0.23.3.tar.gz"
+sha256sums="fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca cadaver-0.23.3.tar.gz"
+sha512sums="48fe0a266be0ca7239f325377e5e2a8dc57a5d60466c7160e36c060ad24c09a50727695b9fa931844b1e66e173ebbb838f390d6c60fd07b614bd3b636cd4dd41 cadaver-0.23.3.tar.gz"