mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
27 lines
851 B
Plaintext
27 lines
851 B
Plaintext
# Contributor: André Klitzing <aklitzing@gmail.com>
|
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
|
pkgname=libbytesize
|
|
pkgver=1.1
|
|
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 python3"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
source="https://github.com/storaged-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/"$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="901ee970387038fb3ca5a8a54eab8d09e4a0e1da562545a2d1a14137c33b2abe8af18662f222d4c5e48e5da2580443ef557822bc41bc30ca18743bdec8c56fea libbytesize-1.1.tar.gz"
|