diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-06-12 21:58:38 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-14 10:36:22 +0000 |
commit | 54a6b00062be739b808c3c713d5b2c092edf9e0f (patch) | |
tree | 596cb5050122f942ebb4f3399c699688ab612917 /testing/libbytesize | |
parent | 1334d017d3b7c43261593baf04e62c85200c1f08 (diff) | |
download | aports-54a6b00062be739b808c3c713d5b2c092edf9e0f.tar.bz2 aports-54a6b00062be739b808c3c713d5b2c092edf9e0f.tar.xz |
testing/libbytesize: new aport
Diffstat (limited to 'testing/libbytesize')
-rw-r--r-- | testing/libbytesize/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libbytesize/APKBUILD b/testing/libbytesize/APKBUILD new file mode 100644 index 0000000000..7f484ee1d0 --- /dev/null +++ b/testing/libbytesize/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: André Klitzing <aklitzing@gmail.com> +# Maintainer: André Klitzing <aklitzing@gmail.com> +pkgname=libbytesize +pkgver=0.10 +pkgrel=0 +pkgdesc="A tiny library providing a C 'class' for working with arbitrary big sizes in bytes" +url="https://github.com/rhinstaller/libbytesize" +arch="all" +license="LGPL" +makedepends="pcre-dev mpfr-dev gmp-dev gettext-dev bash libtool automake autoconf python3" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/$pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/"$pkgname-$pkgver + +build() { + cd "$builddir" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="26dcca781c70b5fdc0c0ef973ce65db2c4ce4520bb413b2e0137e3c8a0ccef0b0b47f46e50e13035fb74c3bd2a16ab8faad8c4fb843f33419a5e5d70dae73587 libbytesize-0.10.tar.gz" |