aboutsummaryrefslogtreecommitdiffstats
path: root/community/librtas
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-10 19:41:56 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-10 19:41:56 +0000
commit4ced50fa4d06e8f18ba08e52977f651ce202598f (patch)
tree8dbdfcceabf0f0b7973ade8245c9deb12a8a1a8f /community/librtas
parent4298f04b4b6607901449906a7e07558d3ebd6492 (diff)
downloadaports-4ced50fa4d06e8f18ba08e52977f651ce202598f.tar.bz2
aports-4ced50fa4d06e8f18ba08e52977f651ce202598f.tar.xz
community/librtas: move from testing
Diffstat (limited to 'community/librtas')
-rw-r--r--community/librtas/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/librtas/APKBUILD b/community/librtas/APKBUILD
new file mode 100644
index 0000000000..87f8461807
--- /dev/null
+++ b/community/librtas/APKBUILD
@@ -0,0 +1,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"