smlinux/base/fmt/fmt.SMBuild
PktSurf 45e2c3bd44 Added ftjam, libptytty to base
Removed dmraid, iniparser, jam, libatasmart, libblockdev, libbytesize, libyaml, mozjs, ndctl, polkit, rpi-userland, sccache from base
Removed docdir, sysconfdir and prefix quotes from autoconf build option and similar options from various packages in base
Added apparch variables to base/{acpid,dmidecode,gnu-efi,pciutils,syslinux}
Added udev rules build option to base/alsa-utils
Discarded --offline option in base/cbindgen
Upgraded base/cmake to 3.26.4
Added --without-x build option to base/dialog
Upgraded base/gawk to 5.2.2
Upgraded base/glib to 2.76.3
Disabled tests and examples in base/gloox
Upgraded base/gnupg2 to 2.2.41
Upgraded base/gnutls to 3.8.0
Upgraded base/gpgme to 1.20.0
Fixed make command option ordering in base/{hdparm,p7zip}
Upgraded base/libgpg-error to 1.47
Upgraded base/libjpeg-turbo to 2.1.5.1
Upgraded base/libuv to 1.45.0
Discarded some build options to base/libxml2
Upgraded base/llvm to 15.0.7
Fixed subshell code in base/lua53
Removed --prefix= in several python package build files, added /usr as prefix in base/python3
Upgraded base/musl to 1.2.4
Upgraded base/nettle to 3.9
Upgraded base/nghttp2 to 1.53.0
Added --without-trust-paths to base/p11-kit
Upgraded base/qpdf to 11.4.0
Discarded base/rpi-userland
Upgraded base/rust to 1.69.0
Upgraded base/sqlite to 3420000
Added $CFLAGS to base/unzip
Added -fPIC option to base/yasm
Updated base build list
2023-06-04 21:53:45 +05:30

38 lines
851 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=fmt
version=8.1.0
build=2sml
homepage="https://github.com/fmtlib/fmt"
download="https://github.com/fmtlib/fmt/archive/refs/tags/$version.tar.gz"
desc="Formatting library for C++"
requires="musl gcc-libs"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DBUILD_SHARED_LIBS=ON \
-DFMT_TEST=OFF \
-Wno-dev
make
make install DESTDIR=$pkg
install -m 644 ../LICENSE.rst $pkgdocs/LICENSE
mkfinalpkg
}
sha512sums="
3e67202ab0f91b7e26526bc632ddde063ab06d0029e34286ecf0321f7226dc2d5689a5c6aacb81d516e2c72206daf9cfb037a78cd5b0f472fadbb18934f0c424 fmt-8.1.0.tar.lz
"