21 lines
577 B
Plaintext
21 lines
577 B
Plaintext
# Description: A tiny library providing a C "class" for working with arbitrary big sizes in bytes
|
|
# URL: https://github.com/storaged-project/libbytesize
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3 libpcre2
|
|
|
|
name=libbytesize
|
|
version=2.4
|
|
release=1
|
|
source=(https://github.com/storaged-project/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
NO_CONFIGURE=1 ./autogen.sh
|
|
sed -i 's/==/=/g' docs/Makefile.in
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/{locale,gtk-doc} || true
|
|
}
|