diff options
Diffstat (limited to 'libproxy/Pkgfile')
-rwxr-xr-x | libproxy/Pkgfile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libproxy/Pkgfile b/libproxy/Pkgfile new file mode 100755 index 000000000..3cdb70bb5 --- /dev/null +++ b/libproxy/Pkgfile @@ -0,0 +1,39 @@ +# Description: Librairie permettant de découvrir le proxy +# URL: http://code.google.com/p/libproxy +# Maintainer: NutyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: cmake +# Run on: xorg-libice,xorg-libsm,xorg-libx11,xorg-libxau,xorg-libxcb,xorg-libxdmcp,xorg-libxext,xorg-libxmu,xorg-libxmu,xorg-libxt + +name=libproxy +version=0.4.7 +release=3 + +source=(http://$name.googlecode.com/files/$name-$version.zip) + +build() { + cd $name-$version + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \ + -DCMAKE_SKIP_RPATH=ON \ + -DFORCE_SYSTEM_LIBMODMAN=OFF \ + -DWITH_GNOME=OFF \ + -DWITH_GNOME3=OFF \ + -DWITH_WEBKIT=OFF \ + -DWITH_MOZJS=OFF \ + -DWITH_NM=OFF \ + -DWITH_KDE4=OFF \ + -DWITH_PERL=ON \ + -DWITH_PYTHON=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \ + -DCMAKE_BUILD_TYPE=Distrib \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_C_FLAGS="${CFLAGS}" \ + .. + + make DESTDIR=$PKG install + rm -rf $PKG/usr/lib/libproxy/ +} |