aboutsummaryrefslogtreecommitdiffstats
path: root/community/librtas/APKBUILD
blob: 87f846180709cd48e537e8a26c6c4353abbcfba9 (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
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=librtas
pkgver=2.0.1
pkgrel=0
pkgdesc="Librtas provides a set of libraries that access Run-Time Abstraction Services (RTAS)"
url="https://github.com/nfont/librtas"
arch="ppc64le"
options="!check"
license="LGPL"
makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nfont/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	./autogen.sh
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

sha512sums="922465aa08bc0de49ae259a2655081eb8f91dcc213475b6cac6c4740279433011699a3b50cc23941bb3275f85deec2ffefc2bf1faae51a4baf8baa067b4d6a4d  librtas-2.0.1.tar.gz"