libbytesize: initial commit, version 2.3

This commit is contained in:
Tim Biermann 2020-06-14 21:36:59 +00:00
parent f81a3e5e84
commit 4c0efc3953
3 changed files with 47 additions and 0 deletions

22
libbytesize/.footprint Normal file
View File

@ -0,0 +1,22 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bscalc
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/bytesize/
-rw-r--r-- root/root usr/include/bytesize/bs_size.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libbytesize.la
lrwxrwxrwx root/root usr/lib/libbytesize.so -> libbytesize.so.1.0.0
lrwxrwxrwx root/root usr/lib/libbytesize.so.1 -> libbytesize.so.1.0.0
-rwxr-xr-x root/root usr/lib/libbytesize.so.1.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/bytesize.pc
drwxr-xr-x root/root usr/lib/python3.7/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/bytesize/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/bytesize/__init__.py
-rw-r--r-- root/root usr/lib/python3.7/site-packages/bytesize/bytesize.py
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/bscalc.1.gz

5
libbytesize/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35wS2CmxHYNrjBmV/HNbfa//4fTY+sSVWooEONAvOn/O0YuXkgOaz1G6VuosY1mzA5NQwYfsXIze9LX1gLuT8wU=
SHA256 (Pkgfile) = f1a06665a5d9979ece9d910a30b5bb0f782549f80a343e5e708d668e8ae37958
SHA256 (.footprint) = 98abe15cc623e21e4fc6908fa426bb5494d5d383bed966ce513ebc838c9a1629
SHA256 (libbytesize-2.3.tar.gz) = b726844e45ffa75dea5b218cb25397c658a5bcf2f1bf3820e5ff98e468c00531

20
libbytesize/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# 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.3
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
}