From f5345aa22bdd37a40a2042532bb5cbfe957fedb5 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Sat, 18 Feb 2023 14:23:40 +0100 Subject: [PATCH] fmt: moved from contrib to opt --- fmt/.footprint | 28 ++++++++++++++++++++++++++++ fmt/.signature | 5 +++++ fmt/Pkgfile | 22 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 fmt/.footprint create mode 100644 fmt/.signature create mode 100644 fmt/Pkgfile diff --git a/fmt/.footprint b/fmt/.footprint new file mode 100644 index 000000000..70016cafe --- /dev/null +++ b/fmt/.footprint @@ -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 diff --git a/fmt/.signature b/fmt/.signature new file mode 100644 index 000000000..bcc9b6226 --- /dev/null +++ b/fmt/.signature @@ -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 diff --git a/fmt/Pkgfile b/fmt/Pkgfile new file mode 100644 index 000000000..b8e5e184d --- /dev/null +++ b/fmt/Pkgfile @@ -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 +}