void-packages/srcpkgs/lwipv6/template

24 lines
739 B
Bash

# Template file for 'lwipv6'
pkgname=lwipv6
version=1.5a
revision=1
build_style=gnu-configure
makedepends="libpcap-devel vde2-devel"
short_desc="User level (lightweight) TCP/IP stack with IPv6 support"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://wiki.v2.cs.unibo.it/wiki/index.php/LWIPV6"
distfiles="${SOURCEFORGE_SITE}/view-os/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=4ad9415c0bf9a2aca0aa858ac1601c20d7c04b5d051d000d4a03eb1eeb0ed05a
CPPFLAGS='-DGNU_SOURCE -D__USE_MISC -D__caddr_t=caddr_t'
lwipv6-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}