# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=socat pkgver=1.7.3.3 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/$pkgname/download/$pkgname-$pkgver.tar.bz2 use-linux-headers.patch netdb-internal.patch " build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" 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="6073facb3db7cd24b9380f400876d73537b52b8e53ff6aac080388c2b1fc4a2decdfac7ce23bff6ab680fb2751251cda7fc67be9b09954edc46f449e0a7d0c7e socat-1.7.3.3.tar.bz2 2032b6528cb27b69d8fb6a6f64af32fcc1f6e4934bb0d7c8931b38ab7ad5e27f6f4344a6cf49751fa3178cd725f954e195373362f7d5929e587d7f0309346059 use-linux-headers.patch 22a6e0c2317a9317997c98114daac258ebbcc3d8e58e49a6ebf24781b98967afed47c63807282582fa0909076fe349281f05e4462faacb90e7aabc853903d6e6 netdb-internal.patch"