blob: dca3edf79efd7373e4626dc7d1cd6964d2a66efe (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=afpfs-ng
pkgver=0.8.1
pkgrel=8
pkgdesc="A client for the Apple Filing Protocol (AFP)"
url="http://alexthepuffin.googlepages.com/"
arch="all"
license="GPL-2.0"
depends=""
depends_dev="libgcrypt-dev libedit-dev ncurses-dev"
makedepends="$depends_dev autoconf automake libtool linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://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
}
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"
|