smlinux/base/libbytesize/libbytesize.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

33 lines
719 B
Text
Executable file

app=libbytesize
version=2.6
build=2sml
homepage="https://github.com/rhinstaller/libbytesize"
download="https://github.com/storaged-project/libbytesize/archive/refs/tags/$version.tar.gz"
desc="Library for working with big sizes in bytes"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
NOCONFIGURE=1 ./autogen.sh
}
build() {
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
f4fe0f31ba1c919961450ac183cd65a4207db9e8b38338705f5f1c239179485bc639273e861db6b547bbe0356b3609bb65200040017a8cc88ef96931c7b6dc11 libbytesize-2.6.tar.lz
"