2018-03-14 00:34:38 +01:00
|
|
|
# Description: Provides consistent proxy configuration to applications.
|
|
|
|
# URL: http://libproxy.github.io/libproxy
|
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
|
|
# Depends on: cmake dbus glib
|
|
|
|
|
|
|
|
name=libproxy
|
|
|
|
version=0.4.15
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2020-11-08 12:46:30 +01:00
|
|
|
cmake -S$name-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
2020-12-07 00:57:15 +01:00
|
|
|
-D CMAKE_C_FLAGS="$CFLAGS" \
|
|
|
|
-D CMAKE_CXX_FLAGS="$CXXFLAGS" \
|
2020-11-08 12:46:30 +01:00
|
|
|
-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
|
2018-03-14 00:34:38 +01:00
|
|
|
|
2020-11-08 12:46:30 +01:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2018-03-14 00:34:38 +01:00
|
|
|
}
|