diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2015-02-16 13:30:11 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-02-16 13:35:57 +0000 |
commit | d443389b9729bc73db628bf0eb8b14606ec51428 (patch) | |
tree | 2c0332a1d4f9df3b978df90e179173ddf2fc1c55 /testing | |
parent | caaa251a49013a0d9a2552a62bd0f47fcabfabbe (diff) | |
download | aports-d443389b9729bc73db628bf0eb8b14606ec51428.tar.bz2 aports-d443389b9729bc73db628bf0eb8b14606ec51428.tar.xz |
testing/cadaver: new aport
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/cadaver/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/cadaver/APKBUILD b/testing/cadaver/APKBUILD new file mode 100644 index 0000000000..16e493b14c --- /dev/null +++ b/testing/cadaver/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: +pkgname=cadaver +pkgver=0.23.3 +pkgrel=0 +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" + 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 \ + --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" |