32 lines
809 B
Plaintext
32 lines
809 B
Plaintext
# 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.17
|
|
release=1
|
|
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S$name-$version -B build -G Ninja \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_C_FLAGS="$CFLAGS" \
|
|
-D CMAKE_CXX_FLAGS="$CXXFLAGS" \
|
|
-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
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|