diff options
author | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
commit | 752015395fc8b95cc4a86b68189cb747fe9a8499 (patch) | |
tree | 3e64f1f739447b52eab8498bf13bcbc9410cde8e /community-testing/php-geoip/PKGBUILD | |
parent | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff) |
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'community-testing/php-geoip/PKGBUILD')
-rw-r--r-- | community-testing/php-geoip/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community-testing/php-geoip/PKGBUILD b/community-testing/php-geoip/PKGBUILD new file mode 100644 index 000000000..d12726a44 --- /dev/null +++ b/community-testing/php-geoip/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 70079 2012-04-29 06:43:36Z pschmitz $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> + +pkgname=php-geoip +pkgver=1.0.8 +pkgrel=2 +pkgdesc="GeoIP module for PHP" +arch=('i686' 'x86_64') +url="http://pecl.php.net/package/geoip" +license=('PHP') +depends=('php' 'geoip') +backup=('etc/php/conf.d/geoip.ini') +source=(http://pecl.php.net/get/geoip-$pkgver.tgz) +sha256sums=('08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a') + +build() { + cd "$srcdir/geoip-$pkgver" + + phpize + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/geoip-$pkgver" + + make INSTALL_ROOT="$pkgdir" install + echo ';extension=geoip.so' >geoip.ini + install -Dm644 geoip.ini "$pkgdir/etc/php/conf.d/geoip.ini" +} + +# vim:set ts=2 sw=2 et: |