-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
65 lines (55 loc) · 1.52 KB
/
Copy pathPKGBUILD
File metadata and controls
65 lines (55 loc) · 1.52 KB
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
_pkgname=curl
_branch=wiiu
pkgname=wiiu-${_pkgname}-dkosmari
conflicts=("wiiu-${_pkgname}")
provides=("wiiu-${_pkgname}")
pkgver=8.18.0
pkgrel=2
pkgdesc='Library for transferring data with URLs'
arch=('any')
url='https://github.com/dkosmari/curl/tree/wiiu'
license=('The curl license')
options=(!buildflags !strip libtool staticlibs)
groups=('wiiu-portlibs')
makedepends=(
'dkp-toolchain-vars'
'wiiu-pkg-config'
)
depends=(
'ppc-libbrotli'
'ppc-libzstd'
'ppc-zlib'
'wiiu-mbedtls'
'wut'
)
source=("${_pkgname}::git+https://github.com/dkosmari/curl.git#branch=${_branch}")
build() {
cd "${_pkgname}"
source "${DEVKITPRO}/wiiuvars.sh"
autoreconf -i
./configure \
--disable-silent-rules \
--host=powerpc-eabi \
--prefix="${PORTLIBS_PREFIX}" \
--disable-shared \
--disable-ipv6 \
--disable-unix-sockets \
--disable-socketpair \
--disable-manual \
--with-mbedtls="${PORTLIBS_PREFIX}" \
--with-ca-path=/vol/storage_mlc01/sys/title/0005001b/10054000/content/scerts \
--without-libpsl \
--enable-websockets \
--enable-verbose \
--disable-docs \
--enable-threaded-resolver
make -C lib
}
package() {
cd "${_pkgname}"
make install -C lib DESTDIR="${pkgdir}"
make install -C include DESTDIR="${pkgdir}"
make install-binSCRIPTS install-pkgconfigDATA DESTDIR="${pkgdir}"
install -Dm644 COPYING "${pkgdir}/${PORTLIBS_PREFIX}/licenses/${pkgname}/COPYING"
}
sha256sums=('SKIP')