aboutsummaryrefslogtreecommitdiffstats
path: root/testing/curlftpfs/APKBUILD
blob: b6075b3a11452ddc752703b430e63f6156a10e68 (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
48
49
50
51
52
53
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=curlftpfs
pkgver=0.9.2
pkgrel=1
pkgdesc="Fuse mount FTP server"
url="https://sourceforge.net/projects/curlftpfs/"
arch="all"
license="GPL-2.0-only"
depends="libcurl glib"
makedepends="curl-dev glib-dev fuse-dev"
install=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/curlftpfs/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz
	001-uclibc_mod.patch
	500-fix-CURLOPT_INFILESIZE.patch
	510-free_ftpfs_file-memleak-fix.patch
	520-nocache-memleak-fix.patch
	530-curlftpfs__no_verify_hostname.patch
	540-consistent-feature-flag.patch
	550-getpass-prototype.patch
	"
builddir="$srcdir/${pkgname}-${pkgver}"
patch_args="-p1"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CTARGET \
		--prefix=/usr
	make CFLAGS="-I/usr/include/fuse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D__off_t=off_t -D_FILE_OFFSET_BITS=64"
}

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

sha512sums="df07c418d175f766c89525017fc56e79726061eee0c3a6607ded0e1bf24f64f1475ba0e546157b65892194e3c4414c120822bf8fb175437e68366f82de216067  curlftpfs-0.9.2.tar.gz
a5705945c04382db2f82b6f8c34e9367b6ee3d442d11744403c78f7a9236d5117fbb0a94824dc5c5572bcda701104f2769264764ab4b5d24017ff58f6a3fa3d1  001-uclibc_mod.patch
ee0055cb2271da9ed5251800a4d0a7bc64b68482d6f221127d1dbe3df6bdda22a45a9e9ea7f0c938d1eac484a86920c9a76dbd160deb87f78da1515373309f57  500-fix-CURLOPT_INFILESIZE.patch
e37011cfcb60004d68a4cb76da3a811349166063057e7af5d75d9f982ffab6093cda648f07ee1dfc30abfc8ef19894ae7cb6f90b3d3ca4b1a4affe3a19a95f08  510-free_ftpfs_file-memleak-fix.patch
ffef57586e2023c3257bfa1d48c5dd318c17e80867b2c467ee99a538813d459568260daf23caf84a751a7d1c18fd05b54d967a5d8e740adbd1bac1af1effe74c  520-nocache-memleak-fix.patch
f3478952ef8667ac808d0a1c97c7211da8a091ef27fe2fc87cb2a685060c479af1422e2a8cfaea6d3cd3014758cbb4cc25a3dbec4d9b50da03195cd294efb296  530-curlftpfs__no_verify_hostname.patch
4448ee5ebb79e404cc0eb37ef39c510015ef9b8901724c396ffee52bc45ba8c2636f6f3e6ec2dc4390b37c5662b54c72a13df32807dabfc523a0f65f484a8540  540-consistent-feature-flag.patch
5657e2261012b81fda02488a0aa083d88c3d9ea2b435b38a46dc1e04afc34824aa452dd903f1ac956a37c9c2fa19f65c4021d531450abbe47e074dbad5819a63  550-getpass-prototype.patch"