summaryrefslogtreecommitdiffstats
path: root/extra/libproxy/Pkgfile
blob: 8472e1ed02347f22b57218c0422a236c029cbe39 (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
# 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.6
release=2

source=(http://libproxy.googlecode.com/files/libproxy-$version.tar.gz)

build() {
	cd $name-$version
	mkdir build
  	cd build

	cmake -DCMAKE_INSTALL_PREFIX=/usr \
    		-DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
    		-DCMAKE_SKIP_RPATH=ON \
		-DWITH_GNOME=OFF \
	..
	make DESTDIR=$PKG install

}