# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=socat pkgver=1.7.3.4 pkgrel=0 pkgdesc="Multipurpose relay for binary protocols" # test 58 CHILDDEFAULT: child process default properties... FAILED: # ./socat -t 0.1 -u exec:./procan - options="!check" url="http://www.dest-unreach.org/socat/" arch="all" license="GPL-2.0-only" makedepends="openssl-dev readline-dev linux-headers" checkdepends="bash" subpackages="$pkgname-doc" source="http://www.dest-unreach.org/socat/download/socat-$pkgver.tar.bz2 use-linux-headers.patch netdb-internal.patch " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { make test } doc() { default_doc mkdir -p "$subpkgdir"/usr/share/socat/ install -m644 "$builddir"/EXAMPLES "$builddir"/doc/*.html "$builddir"/doc/*.css "$subpkgdir"/usr/share/"$pkgname"/ } package() { make DESTDIR="$pkgdir" install } sha512sums="f338d28e5fd9d7ebb9e30b0fa700bcd5ff50ff9e668403474963a3310ba2b5f68b5236b928872c18e4b1ee95328374987e7e263ac7655a0d9b3fc9da77281123 socat-1.7.3.4.tar.bz2 2032b6528cb27b69d8fb6a6f64af32fcc1f6e4934bb0d7c8931b38ab7ad5e27f6f4344a6cf49751fa3178cd725f954e195373362f7d5929e587d7f0309346059 use-linux-headers.patch 22a6e0c2317a9317997c98114daac258ebbcc3d8e58e49a6ebf24781b98967afed47c63807282582fa0909076fe349281f05e4462faacb90e7aabc853903d6e6 netdb-internal.patch"