pkgsrc/net/solaris-tap/Makefile

33 lines
792 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2015/09/22 01:59:00 tnn Exp $
DISTNAME= tuntap
PKGNAME= solaris-tap-1.1.0
CATEGORIES= net
MASTER_SITES= http://www.whiteboard.ne.jp/~admin2/tuntap/source/tuntap/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.whiteboard.ne.jp/~admin2/tuntap/
COMMENT= Solaris kernel module for virtual Ethernet devices
ONLY_FOR_PLATFORM= SunOS-*-*
GNU_CONFIGURE= yes
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/tuntap
.include "../../mk/bsd.prefs.mk"
.if empty(ABI:U:M64)
CONFIGURE_ARGS+= --disable-64bit
.endif
INSTALLATION_DIRS= include/net lkm
do-install:
2010-02-04 10:18:12 +01:00
${INSTALL_DATA} ${WRKSRC}/if_tun.h ${DESTDIR}${PREFIX}/include/net
.for f in tap tap.conf tun tun.conf
2010-02-04 10:18:12 +01:00
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/lkm
.endfor
.include "../../mk/bsd.pkg.mk"