1
0
forked from ports/opt

fmt: moved from contrib to opt

This commit is contained in:
Juergen Daubert 2023-02-18 14:23:40 +01:00
parent 5e33c2ae72
commit f5345aa22b
3 changed files with 55 additions and 0 deletions

28
fmt/.footprint Normal file
View File

@ -0,0 +1,28 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/fmt/
-rw-r--r-- root/root usr/include/fmt/args.h
-rw-r--r-- root/root usr/include/fmt/chrono.h
-rw-r--r-- root/root usr/include/fmt/color.h
-rw-r--r-- root/root usr/include/fmt/compile.h
-rw-r--r-- root/root usr/include/fmt/core.h
-rw-r--r-- root/root usr/include/fmt/format-inl.h
-rw-r--r-- root/root usr/include/fmt/format.h
-rw-r--r-- root/root usr/include/fmt/os.h
-rw-r--r-- root/root usr/include/fmt/ostream.h
-rw-r--r-- root/root usr/include/fmt/printf.h
-rw-r--r-- root/root usr/include/fmt/ranges.h
-rw-r--r-- root/root usr/include/fmt/std.h
-rw-r--r-- root/root usr/include/fmt/xchar.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/fmt/
-rw-r--r-- root/root usr/lib/cmake/fmt/fmt-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/fmt/fmt-config.cmake
-rw-r--r-- root/root usr/lib/cmake/fmt/fmt-targets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/fmt/fmt-targets.cmake
lrwxrwxrwx root/root usr/lib/libfmt.so -> libfmt.so.9
lrwxrwxrwx root/root usr/lib/libfmt.so.9 -> libfmt.so.9.1.0
-rwxr-xr-x root/root usr/lib/libfmt.so.9.1.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/fmt.pc

5
fmt/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aMfcnXMoLB6Kbq1yisFXyIlbHODK3g2XftJQhhPN6UxYThKb2KzyABZolzpgmTKQi47gG359ZzL3A3yF3mTlQ4=
SHA256 (Pkgfile) = bea52fb6888e749829a2abe5d5b3722d91cbb2fe5de12652d30fa2834d277990
SHA256 (.footprint) = 81ef7c3e05605d64e0ae7a14206d8d4a6ff8a3f4585d3864936b65b4330eaa71
SHA256 (fmt-9.1.0.tar.gz) = 5dea48d1fcddc3ec571ce2058e13910a0d4a6bab4cc09a809d8b1dd1c88ae6f2

22
fmt/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: An open-source formatting library
# URL: https://fmt.dev/latest/index.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake
name=fmt
version=9.1.0
release=1
source=(https://github.com/fmtlib/$name/archive/$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_POSITION_INDEPENDENT_CODE=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}