summaryrefslogtreecommitdiff
path: root/extra/socat/PKGBUILD
blob: 1ed30bf7fce8157ebbfac7370c75dec9eed4bf04 (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
# $Id: PKGBUILD 87629 2010-08-17 13:33:30Z bisson $
# Maintainer:
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>

pkgname=socat
pkgver=1.7.1.3
pkgrel=1
pkgdesc='Relay for bidirectional data transfer via socket, pty, pipe, file and more'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://www.dest-unreach.org/socat/'
depends=('readline' 'openssl' 'tcp_wrappers')
makedepends=('imake')
source=("http://www.dest-unreach.org/socat/download/$pkgname-$pkgver.tar.gz")
sha1sums=('5a42275da0d8a5182452b36535a74c3cdf21793b')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr \
    --mandir=/usr/share/man
  make depend || return 1
  make || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install || return 1
}