diff options
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" |