1
0
forked from ports/contrib

libproxy: updated cmake syntax

This commit is contained in:
Tim Biermann 2020-11-08 11:46:30 +00:00
parent 71e80e517f
commit 8d3ce4cb58
2 changed files with 20 additions and 24 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38dmP1Ga2gfpJU7S5pRSfxHK+0alF3vYQsoOyuk6djxErthrpXlReipMPAb5b/Q03rAmWg+qtiA8WY2CA3elnAM= RWSagIOpLGJF3zhAOc1LCVMmZIBh5aUJtaQbzasEn2q0m9HCo3AiNxc1+bMxUeTIWrq4m3sI5mLA7kqMZWp2slRIE572qgSOXA8=
SHA256 (Pkgfile) = 6dba3b2e00f0c9c9f94e3f7f386e191ace9d06f86bd3efa26c8aac660fbff54a SHA256 (Pkgfile) = 3a7bc80662d52510aafc61ab3940ecdf9acd3eb59674048f72e72e662cd66e57
SHA256 (.footprint) = e9d5184325707b70c1a1c49c0fc3f2465f60e87e0b506ccefd8f9cdbba051e03 SHA256 (.footprint) = e9d5184325707b70c1a1c49c0fc3f2465f60e87e0b506ccefd8f9cdbba051e03
SHA256 (libproxy-0.4.15.tar.xz) = 654db464120c9534654590b6683c7fa3887b3dad0ca1c4cd412af24fbfca6d4f SHA256 (libproxy-0.4.15.tar.xz) = 654db464120c9534654590b6683c7fa3887b3dad0ca1c4cd412af24fbfca6d4f

View File

@ -9,27 +9,23 @@ release=1
source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.xz) source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.xz)
build() { build() {
cd $name-$version cmake -S$name-$version -B build -G Ninja \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_C_FLAGS="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG" \
-D WITH_DOTNET=off \
-D WITH_GNOME3=off \
-D WITH_KDE=off \
-D WITH_NM=off \
-D WITH_PERL=off \
-D WITH_PYTHON2=off \
-D WITH_PYTHON3=off \
-D WITH_VALA=off \
-D WITH_WEBKIT=off \
-D WITH_WEBKIT3=off \
-Wno-dev
mkdir build cmake --build build
cd build DESTDIR=$PKG cmake --install build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DWITH_DOTNET=off \
-DWITH_GNOME3=off \
-DWITH_KDE=off \
-DWITH_NM=off \
-DWITH_PERL=off \
-DWITH_PYTHON2=off \
-DWITH_PYTHON3=off \
-DWITH_VALA=off \
-DWITH_WEBKIT=off \
-DWITH_WEBKIT3=off
make
make DESTDIR=$PKG install
} }