crossguid: adjust depends on line
This commit is contained in:
parent
c9d009bde3
commit
47fbe55a60
|
@ -1,5 +1,5 @@
|
||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3w/Xh5UvtAN4gVxGlWwX2NKO4JtHnHY15QZkn0Eb5VnRQmQdcqUpnwMsNchlCiK361SWNMuJz2Feei3NltjFuQA=
|
RWSagIOpLGJF3xQS3/qiwJ8et5mEIhGVmwe2XoKB2Sm53+v1D4/qfOS7O1K5MxJNMp+rdzMhE3CKTG1uwE6X6Q+7irIANQltFQs=
|
||||||
SHA256 (Pkgfile) = f2d2f66bc1c13a06ddd54cad503e96087a0cb7ec68b17c435517d853e5bcc90a
|
SHA256 (Pkgfile) = d93750a216ac32ea6dc5ff6c3b849fedabc1eee2edac620a9c7e9788f9d96443
|
||||||
SHA256 (.footprint) = 8493818938895a7ffffb802ef89e8cc887d14324775495d043c4c0aafab78bd4
|
SHA256 (.footprint) = 8493818938895a7ffffb802ef89e8cc887d14324775495d043c4c0aafab78bd4
|
||||||
SHA256 (crossguid-0.2.2.tar.gz) = 48321928473c682b0cdc7e17bbd3390f79f4b98ab22fef3b81a852dda81fd195
|
SHA256 (crossguid-0.2.2.tar.gz) = 48321928473c682b0cdc7e17bbd3390f79f4b98ab22fef3b81a852dda81fd195
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Description: Lightweight cross platform C++ GUID/UUID library
|
# Description: Lightweight cross platform C++ GUID/UUID library
|
||||||
# URL: https://github.com/graeme-hill/crossguid
|
# URL: https://github.com/graeme-hill/crossguid
|
||||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||||
# Depends on: cmake
|
# Depends on:
|
||||||
|
|
||||||
name=crossguid
|
name=crossguid
|
||||||
version=0.2.2
|
version=0.2.2
|
||||||
|
@ -9,14 +9,14 @@ release=1
|
||||||
source=(https://github.com/graeme-hill/crossguid/archive/v$version/$name-$version.tar.gz)
|
source=(https://github.com/graeme-hill/crossguid/archive/v$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
[[ -e /usr/bin/ninja ]] && PKGMK_CROSSGUID+=' -GNinja'
|
cmake -S $name-$version -B build -G Ninja \
|
||||||
cmake -S $name-$version -B build $PKGMK_CROSSGUID \
|
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
install -D -m 0644 build/libxg.a $PKG/usr/lib/libxg.a
|
install -D -m 0644 build/libxg.a $PKG/usr/lib/libxg.a
|
||||||
install -D -m 0644 $name-$version/Guid.hpp $PKG/usr/include/Guid.hpp
|
install -D -m 0644 $name-$version/Guid.hpp $PKG/usr/include/Guid.hpp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user