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

                                                         
             
              









                                                                       

                            

         










                                         


                                      
                                                                                                                                                                  
                                                                                                                                                       
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=socat
pkgver=1.7.3.4
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="c5699fd1a703e90927076599d02323b85722d49e86bc2f627b4301a41d3df72c634af629f378425ff201cde78343da5cd0cad1044bf857665176c91357401fdd  socat-1.7.3.4.tar.gz
22a6e0c2317a9317997c98114daac258ebbcc3d8e58e49a6ebf24781b98967afed47c63807282582fa0909076fe349281f05e4462faacb90e7aabc853903d6e6  netdb-internal.patch"