blob: 9d8cb2660a7296236f5a06fc8875168fcf25dd47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $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:
${INSTALL_DATA} ${WRKSRC}/if_tun.h ${DESTDIR}${PREFIX}/include/net
.for f in tap tap.conf tun tun.conf
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/lkm
.endfor
.include "../../mk/bsd.pkg.mk"
|