updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sockets / PKGBUILD
blob40894da61dcb6c92e37beb3fd347554deaca5d72
1 # Maintainer: pullmoll <sf at i2pmail dot org>
2 # Contributor: macieks <macieks at freesco dot pl>
3 pkgname=sockets
4 pkgver=2.3.9.7
5 pkgrel=2
6 pkgdesc="C++ class library wrapping the berkeley sockets C API"
7 arch=('i686' 'x86_64')
8 url="http://www.alhem.net/Sockets/"
9 license=('GPL')
10 makedepends=('sed>=4.2')
11 depends=('openssl')
12 source=(http://www.alhem.net/Sockets/Sockets-$pkgver.tar.gz)
13 md5sums=('246d8b801b12d756928ec2672747e610')
14 build() {
15   cd $srcdir/Sockets-$pkgver
16   sed -e "s/\/\/#define ENABLE_SOCKS4/#define ENABLE_SOCKS4/g" -i sockets-config.h
17   make PREFIX=/usr
20 package() {
21   cd $startdir/src/Sockets-$pkgver
22   make PREFIX=$pkgdir/usr install