2018-02-13 20:30:54 +01:00
|
|
|
# Template file for 'lwipv6'
|
|
|
|
pkgname=lwipv6
|
|
|
|
version=1.5a
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2018-02-13 21:19:46 +01:00
|
|
|
makedepends="libpcap-devel vde2-devel"
|
2018-02-13 20:30:54 +01:00
|
|
|
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
|
2018-02-13 21:19:46 +01:00
|
|
|
CPPFLAGS='-DGNU_SOURCE -D__USE_MISC -D__caddr_t=caddr_t'
|
2018-02-13 20:30:54 +01:00
|
|
|
|
|
|
|
lwipv6-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|