New package: ucspi-tcp6-1.11.3
This commit is contained in:
parent
add56be6b5
commit
c282b59554
1 changed files with 42 additions and 0 deletions
42
srcpkgs/ucspi-tcp6/template
Normal file
42
srcpkgs/ucspi-tcp6/template
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'ucspi-tcp6'
|
||||
pkgname=ucspi-tcp6
|
||||
version=1.11.3
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="net/${pkgname}/${pkgname}-${version}/src"
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="fehQlibs"
|
||||
makedepends="fehQlibs"
|
||||
short_desc="Command-line tools for building TCP/IP client-server applications"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="Public Domain"
|
||||
homepage="https://www.fehcom.de/ipnet/ucspi-tcp6.html"
|
||||
distfiles="http://www.fehcom.de/ipnet/ucspi-tcp6/ucspi-tcp6-${version}.tgz"
|
||||
checksum=102a91128a8b2a73241d00e72985b06de738e261c83d0093a4f633e711245235
|
||||
disable_parallel_build="ad hoc build system breaks parallel build"
|
||||
conflicts="ucspi-tcp>=0"
|
||||
|
||||
pre_build() {
|
||||
pwd >home
|
||||
echo "${CC} ${CFLAGS}" >../conf-cc
|
||||
echo "${CC} ${LDFLAGS}" >../conf-ld
|
||||
echo "/usr" >../conf-home
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
echo "${BUILD_CC} ${BUILD_CFLAGS} -c "'"$@"' >compile-host
|
||||
echo 'main="$1"; shift; '"${BUILD_CC} ${BUILD_LDFLAGS}"'-o "$main" "$main.o" "$@"' >load-host
|
||||
chmod +x compile-host load-host
|
||||
|
||||
sed -i -e 's/compile/&-host/g; s/load/&-host/g' choose.sh
|
||||
sed -i -e '/chkshsgr/s/compile/&-host/g; /chkshsgr/s/load/&-host/g' Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for f in $(cat ../package/commands-base); do
|
||||
vbin $f
|
||||
done
|
||||
for f in ../man/*.1; do
|
||||
vman $f
|
||||
done
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue