-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
37 lines (34 loc) · 1010 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Template file for 'socat'
pkgname=socat
version=1.8.0.0
revision=1
build_style=gnu-configure
configure_args="--disable-libwrap --enable-fips
ac_cv_have_z_modifier=yes"
makedepends="readline-devel openssl-devel"
short_desc="Relay for bidirectional data transfer between two independent channels"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.dest-unreach.org/socat/"
changelog="http://www.dest-unreach.org/socat/CHANGES"
distfiles="http://www.dest-unreach.org/socat/download/socat-${version}.tar.bz2"
checksum=e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D_LINUX_IF_ETHER_H"
;;
esac
case "$XBPS_TARGET_MACHINE" in
ppc*)
configure_args+="
sc_cv_sys_crdly_shift=12
sc_cv_sys_tabdly_shift=10
sc_cv_sys_csize_shift=8"
;;
*)
configure_args+="
sc_cv_sys_crdly_shift=9
sc_cv_sys_tabdly_shift=11
sc_cv_sys_csize_shift=4"
;;
esac
configure_args+=" ac_cv_ispeed_offset=13"