aboutsummaryrefslogtreecommitdiffstats
path: root/main/cadaver/APKBUILD
blob: a6493838706014215400cf7c19603af056005295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"