# Contributor: Jesse Young # Maintainer: Stuart Cardall pkgname=ucspi-tcp6 pkgver=1.05 pkgrel=2 pkgdesc="IPv6 enabled ucspi-tcp superserver" url="http://www.fehcom.de/ipnet/ucspi-tcp6.html" arch="all" license="Public-Domain" subpackages="$pkgname-doc" provides="ucspi-tcp=$pkgver-r$pkgrel" source="http://www.fehcom.de/ipnet/ucspi-tcp6/ucspi-tcp6-$pkgver.tgz no-common.patch fix-slashpackage-paths.patch " builddir="$srcdir"/host/$pkgname-${pkgver%%[a-zA-Z]} build() { echo "${CC:-"gcc"} $CFLAGS" > conf-cc echo "${CC:-"gcc"} $LDFLAGS" > conf-ld echo "/usr" > src/home make -C src } package() { local f mkdir -p "$pkgdir"/usr/bin for f in $(cat package/commands-base); do cp "src/$f" "$pkgdir/usr/bin/$f" done for f in $(cd man && echo *.[0-9] ); do mkdir -p "$pkgdir/usr/share/man/man${f##*[a-zA-Z.]}" cp "man/$f" "$pkgdir/usr/share/man/man${f##*[a-zA-Z.]}/$f" done mkdir -p "$pkgdir/usr/share/licenses/$pkgname" cp doc/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha512sums=" eb17f9bd9d94c8f0bd379ae7bba09130e493d2302a738550cdc593a138adc80a2c4f1407a65c3d66a22e363c72c9a95f9435cf8ba5e4de4e5d3b520a9612ec97 ucspi-tcp6-1.05.tgz e99e9c341f04a37e9f001af1dfe1a627dc7ebae6f5b198a34344ee1789ee99bb21ce28071c633303c6ceff85e947c9c6fb837bafcb31ab01d1a2f4168cb34113 no-common.patch aff9991e5b59136c7d0710e8c3044d7273c088a89f275fb195cd4fea840e64d3efbe16eb7bd68050a07bd16035978700fcde4ff866987da583b17d39b0502a8a fix-slashpackage-paths.patch "