summaryrefslogtreecommitdiffstats
path: root/libproxy/Pkgfile
blob: 3cdb70bb5a334cf017d9a790b179fa03bc791abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/
}