[crux-commits] ports/contrib (3.5): libbytesize: initial commit, version 2.3

crux at crux.nu crux at crux.nu
Mon Jun 15 09:56:46 UTC 2020


commit 4c0efc39539a7f30eaf775fa0421a86d38331ede
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 14 21:36:59 2020 +0000

    libbytesize: initial commit, version 2.3

diff --git a/libbytesize/.footprint b/libbytesize/.footprint
new file mode 100644
index 000000000..a8e1fd76b
--- /dev/null
+++ b/libbytesize/.footprint
@@ -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
diff --git a/libbytesize/.signature b/libbytesize/.signature
new file mode 100644
index 000000000..20157a401
--- /dev/null
+++ b/libbytesize/.signature
@@ -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
diff --git a/libbytesize/Pkgfile b/libbytesize/Pkgfile
new file mode 100644
index 000000000..2be03bb45
--- /dev/null
+++ b/libbytesize/Pkgfile
@@ -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
+}


More information about the crux-commits mailing list