summaryrefslogblamecommitdiff
path: root/user/socat/APKBUILD
blob: e5257103e4e2bdfd3649d4762c8d1681ec70c726 (plain) (tree)
1
2
3
4


                                                           
              




























                                                                       
                                                                                                                                                                  
                                                                                                                                                       
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=socat
pkgver=1.7.3.3
pkgrel=0
pkgdesc="Multipurpose network relay"
url="http://www.dest-unreach.org/socat/"
arch="all"
options="!check" # No testsuite
license="GPL-2.0-only"
depends=""
makedepends="openssl-dev"
subpackages="$pkgname-doc"
source="http://www.dest-unreach.org/socat/download/socat-$pkgver.tar.gz
	netdb-internal.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b3ea4cb6081f7778a0281a3ec36ea7e5daf07dc19f2e0de08f767417112776e96e1bcac7962ebb6dd8b960ad91fc4a452f0da8327736d50e215e4ab43947ff78  socat-1.7.3.3.tar.gz
22a6e0c2317a9317997c98114daac258ebbcc3d8e58e49a6ebf24781b98967afed47c63807282582fa0909076fe349281f05e4462faacb90e7aabc853903d6e6  netdb-internal.patch"