[notify] fmt: build shared library

This commit is contained in:
Danny Rawlins 2021-06-18 22:58:37 +10:00
parent 0c50d6186a
commit 22f321f344
3 changed files with 8 additions and 5 deletions

View File

@ -20,6 +20,8 @@ drwxr-xr-x root/root usr/lib/cmake/fmt/
-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
-rw-r--r-- root/root usr/lib/libfmt.a
lrwxrwxrwx root/root usr/lib/libfmt.so -> libfmt.so.7
lrwxrwxrwx root/root usr/lib/libfmt.so.7 -> libfmt.so.7.1.3
-rwxr-xr-x root/root usr/lib/libfmt.so.7.1.3
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/fmt.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+pBTrb1v/yeVejHKI3mEQU1LRisvfHret6Eop9ABi1upnKAj9hLqMDNHvJ+KZF4bulYFe5SwfoJEQM+9mXDyQw=
SHA256 (Pkgfile) = 8e3249f699e6f3aa1ae5df8091b16bcf040be3537d8b0221ef8d4a1ba197e23c
SHA256 (.footprint) = 4b890f044167a1c6f8594cf4019b1cf0eb9b8fd3eb6b7779f0e88c18b757a456
RWSagIOpLGJF35m45QQe772rurh9s5dpdyLZXxZpNd8mChaRs1RrTaAj+kQEcnhYbwP7LK8E8xpm6I1Da+7kqemqjBoLl6W0dws=
SHA256 (Pkgfile) = 38cb40d4cb84b3d1c5279c57de53ebd776045918bebfa43bd4e40aad2dffa89e
SHA256 (.footprint) = f96ebfc6878433dc1d03145d898b44210eee4a3745d111352e81d658b3462928
SHA256 (fmt-7.1.3.tar.gz) = 5cae7072042b3043e12d53d50ef404bbb76949dad1de368d7f993a15c8c05ecc

View File

@ -5,7 +5,7 @@
name=fmt
version=7.1.3
release=1
release=2
source=(https://github.com/fmtlib/$name/archive/$version/$name-$version.tar.gz)
build() {
@ -14,6 +14,7 @@ build() {
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev