aboutsummaryrefslogtreecommitdiffstats
path: root/testing/weex/APKBUILD
blob: 3e80dc1dbf7b6e1c2270a74d55f48b6dd6ae9b96 (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
# Contributor: Milan P. Staniić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=weex
pkgver=2.8.3
pkgrel=0
pkgdesc="Non-interactive FTP and FTPS client for updating web pages"
url="http://weex.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends="openssl-dev"
install=""
options="!check"
subpackages="$pkgname-doc"
source="http://http.debian.net/debian/pool/main/w/weex/weex_2.8.3.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	export CBUILD=$CHOST
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--disable-dependency-tracking \
		--disable-nls
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="0444501cebb0a01dc213ec3efe046499bcabe0e84b315806e60dcc8b96d74e3157d116eba84b2bdff6657e4997dd6b1f7e689c2098b6d45b8e06e67dd74694fa  weex_2.8.3.tar.gz"