summaryrefslogblamecommitdiff
path: root/user/socat/APKBUILD
blob: 1944d57f8bf5eae26beb2cc5051f39012d3b2e57 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                                 
             
              









                                                                       

                            

         










                                         


                                      
                                                                                                                                                                  
                                                                                                                                                       
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=socat
pkgver=1.7.4.1
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="e43c8b23a841aea5ecc3ac324185ee4ada552a8284ec41b99245def2d8b493bca9caea1af6f646f434a7eda67a1dd71e4e037eea65fce0444840236eadb126a6  socat-1.7.4.1.tar.gz
22a6e0c2317a9317997c98114daac258ebbcc3d8e58e49a6ebf24781b98967afed47c63807282582fa0909076fe349281f05e4462faacb90e7aabc853903d6e6  netdb-internal.patch"