updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / curl-hphp / PKGBUILD
blob9955c0041ba541004814dd4cdb574ceffe250337
1 # Maintainer: Spider.007 <archPackage@spider007.net>
2 # Contributor: Spider.007 <archPackage@spider007.net>
3 pkgname=curl-hphp
4 pkgver=7.20.0
5 pkgrel=3
6 pkgdesc="Patched curl for HipHop"
7 arch=('any')
8 url="http://wiki.github.com/facebook/hiphop-php/"
9 license=('custom')
10 depends=()
11 source=("http://curl.haxx.se/download/curl-$pkgver.tar.gz" "libcurl.fb-changes.diff")
12 md5sums=('ce04744b4ac753f851d34a6e5835410a'
13          '8076a8b78cf512a8a738338ee21a8d22')
15 build() {
16   cd $srcdir/curl-$pkgver
18   CMAKE_PREFIX_PATH=/opt/hiphop
20   patch -p1 < $srcdir/libcurl.fb-changes.diff
21   ./configure --prefix=$CMAKE_PREFIX_PATH
22   make || return 1
23   make DESTDIR="$pkgdir" install || return 1