aboutsummaryrefslogtreecommitdiffstats
path: root/main/afpfs-ng/APKBUILD
blob: e4ee5f7109037f499702df40b61f3f75967f6c76 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=afpfs-ng
pkgver=0.8.1
pkgrel=4
pkgdesc="A client for the Apple Filing Protocol (AFP)"
url="http://alexthepuffin.googlepages.com/"
arch="all"
license="GPL2"
depends=""
depends_dev="libgcrypt-dev libedit-dev ncurses-dev"
makedepends="$depends_dev autoconf automake libtool linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/afpfs-ng/afpfs-ng-$pkgver.tar.bz2
	00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch
	01-afpfs-ng-0.8.1-gcrypt.patch
	02-afpfs-ng-0.8.1-pointer.patch
	03-afpfs-ng-0.8.1-boxee1.patch
	04-afpfs-ng-0.8.1-boxee2.patch
	05-afpfs-ng-0.8.1-boxee3.patch
	06-afpfs-ng-0.8.1-boxee4.patch
	07-afpfs-ng-0.8.1-boxee5.patch
	08-afpfs-ng-0.8.1-fix-errno.patch
	09-afpfs-ng-0.8.1-fix-stat.patch
	musl-fix-includes.patch
	libedit.patch
	"

_builddir="$srcdir"/afpfs-ng-$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
	autoreconf -vif || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-gcrypt \
		--disable-fuse \
		|| return 1
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="1bdd9f8a06e6085ea4cc38ce010ef60b  afpfs-ng-0.8.1.tar.bz2
58abc3987e173131e655767a49a18530  00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch
2a1d7a0147bd089c92ba741dc73b88e4  01-afpfs-ng-0.8.1-gcrypt.patch
b9c9596339c25c104c0241fe06826ca8  02-afpfs-ng-0.8.1-pointer.patch
44fc84e69a0f61192f0d3fd33016b719  03-afpfs-ng-0.8.1-boxee1.patch
1bd7aaa364309bc1b57c6314c8e262f0  04-afpfs-ng-0.8.1-boxee2.patch
43ec7eafc6c3b94d1fe0d7a27ff8650e  05-afpfs-ng-0.8.1-boxee3.patch
e7355dffc31cd9ce10bb968994eb15f6  06-afpfs-ng-0.8.1-boxee4.patch
34b6385ca2fd96caeac807581c4d169f  07-afpfs-ng-0.8.1-boxee5.patch
eecc51996ab49a578f760b586106c16b  08-afpfs-ng-0.8.1-fix-errno.patch
2520ba3a39a97d2d29ee65767a1007ec  09-afpfs-ng-0.8.1-fix-stat.patch
1a9b68ff6b9b6b7bdd882fad7577a347  musl-fix-includes.patch
faa319df1d5046758bd5cf83beaa026d  libedit.patch"
sha256sums="688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8  afpfs-ng-0.8.1.tar.bz2
627d94ab3c1cbc002b18839f514c6fa980b0a25dfc21e8761b389fcd39f32755  00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch
18dc77b064fc02c229e0cfa071a7e31cde6d0243671ebde2f561ebdf09dc38bb  01-afpfs-ng-0.8.1-gcrypt.patch
8537b086c496e776be2a6757325717cb15dee6dcf2aedccebed6b4b2332d3dc1  02-afpfs-ng-0.8.1-pointer.patch
9fdae73d707f3509668f424006bd061069ac8692a488890518c06791f4152b9b  03-afpfs-ng-0.8.1-boxee1.patch
652c356367341594dbb7b3189f83793814a1b4f5624a130c9f676bd70f903a39  04-afpfs-ng-0.8.1-boxee2.patch
a5d892625e9c7d4825700eaaf35eed2e472441c7696c6df09f1393b5a1714f93  05-afpfs-ng-0.8.1-boxee3.patch
9a70c82e0cb84e24367cfcba75697a43ae61a6c850e99272a938999774e89416  06-afpfs-ng-0.8.1-boxee4.patch
56c547b9a9389665409bf64597443e9f123a5aacafdbce6bc375f99133a73d76  07-afpfs-ng-0.8.1-boxee5.patch
0e1c0c0e3a9ff6e55ccbbbc1b4de630c874ff058e2ea94360b7d90e650d04811  08-afpfs-ng-0.8.1-fix-errno.patch
ab7c6be216c3b243c9474b2f9d87273b5a8af7fc675fafee037ec64bf962c2a0  09-afpfs-ng-0.8.1-fix-stat.patch
df256860152dc1b25b9a66d32ac6f0c14847a0a5927cec4111bbe96253b75146  musl-fix-includes.patch
54a17df771fcb9388d39149ce501f0d79b0ef8bf0bf5e6038188d3785404fb7f  libedit.patch"
sha512sums="cfb4ab145566cf75490ff6835482a2b3378f56cc223c5f4360cdd85acb221bf744ba2b00e0a851c8f155ad88a9deb778762547c4eda236cb80f671ef85f4525e  afpfs-ng-0.8.1.tar.bz2
c4d9d0de4ed884cfa5cafcc2651acc5c50345ac42e2095663dfa49c02d65122e37acad2020d3e3e4f94a6c5a8b8238caced0d0593639dcd0bb9606351ceda1a2  00-afpfs-ng-0.8.1-fix_afpfs-ng_includes.patch
fc469cc1ae988365f00bca61d84467edaaf8f44338847cc4926f1de3978889fa91aa7f8fc44bce032a28ca65caa2e05db0ddb8f287d3586a08cc6f4a8472a219  01-afpfs-ng-0.8.1-gcrypt.patch
4d9cbd9d012c1a4e2bffa59bfa5c49ee09c1a038be0249fa1b58ce8f8b9c05f6287427b6540cd9e904cd147535094758b0527b25efa2859c5f804b172d29bc36  02-afpfs-ng-0.8.1-pointer.patch
28ce014f27a42f80282b85c19f358eb427d16e47e6a28bee45cabf7a560b6e572ef9bb91d76245bdd04e238ab133fe3848f319a287267046fa76824a89a53916  03-afpfs-ng-0.8.1-boxee1.patch
c8d8ba5c1d5d31ed64594283f0d9b5f983b8e59765605900519f1e65d19b5fda91cfe01a81ac7b8ecfbe02c39bd39326e0d44bb34c548da343987cc2598e02e4  04-afpfs-ng-0.8.1-boxee2.patch
3f6c8d996511299379e074935f658e65e60780cf7ed758ad08b6e49b428734eb0265c6882009d2e39b11118baebb8fd395ca82f8034e77dfdab714aaadc12fe3  05-afpfs-ng-0.8.1-boxee3.patch
131e4e2a695de54c579a4d2f8cca83261c240d5fb6bcb845eb40bb2e85ad329e00609f839ae0428a95cd51f21ed50e9ed38a08532708099c830f8b7bb92eaed6  06-afpfs-ng-0.8.1-boxee4.patch
886998059e0768bf76b712327f1f94934ff4af0ec2c1108e9f5e9a235ba272627d25ac0d067ddaaa993915da741be50c8ceb630ebde646095653a06ff0d65222  07-afpfs-ng-0.8.1-boxee5.patch
af5b7c7095d7f813cb90e3a19baf84c60e85dc4e021e0d9157379cbef0c3e7bfa445daf882a66f54548bbf4a6bbd3ab51942e83d4bf3c6710a8c070efe2170ea  08-afpfs-ng-0.8.1-fix-errno.patch
57f41e50f186330d1c0bd0d118afeb3a5f4b98a49bf7818fb04a57404543cdc2639ce832480644092e98a79cd62b2a81d10aa09ec1bb0b9c61612fdc0c7f3277  09-afpfs-ng-0.8.1-fix-stat.patch
d5b6471e859d7fa8a46503e6ddf41981f896aaa3a4bce58dff5f5937d7dd529dd1073ac80afcf6b455f679201160738595f0bee6048098638501e95402595749  musl-fix-includes.patch
6fe34c913e500fa4801b69caafac56872ea31a60a9594b6582859700af272b382a6ba8250ae9eb6559bcbcd06fff2af6fed9209f96e24db1bc2c5731598f5943  libedit.patch"