86 lines
2.1 KiB
Makefile
86 lines
2.1 KiB
Makefile
|
# $FreeBSD$
|
||
|
|
||
|
PKGNAMESUFFIX= -utils
|
||
|
|
||
|
MAINTAINER= asomers@FreeBSD.org
|
||
|
COMMENT= QEMU userland utilities
|
||
|
|
||
|
HAS_CONFIGURE= yes
|
||
|
USES= cpe gmake pkgconfig perl5 python:2,build tar:bzip2
|
||
|
USES+= gettext-runtime
|
||
|
USE_GNOME+= glib20
|
||
|
MAKE_ENV+= BSD_MAKE="${MAKE}" PREFIX=${PREFIX}
|
||
|
CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* qemu-sbruno-*
|
||
|
|
||
|
OPTIONS_SLAVE= DOCS
|
||
|
OPTIONS_EXCLUDE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \
|
||
|
CDROM_DMA PCAP USBREDIR GNS3 X86_TARGETS \
|
||
|
STATIC_LINK NCURSES
|
||
|
MASTERDIR= ${.CURDIR}/../qemu
|
||
|
PLIST= ${.CURDIR}/pkg-plist
|
||
|
DESCR= ${.CURDIR}/pkg-descr
|
||
|
EXTRA_PATCHES= ${.CURDIR}/files/patch-Makefile ${.CURDIR}/files/patch-configure
|
||
|
PKGMESSAGE=
|
||
|
|
||
|
PORTDOCS= qemu-doc.html qemu-tech.html qmp-commands.txt
|
||
|
|
||
|
CONFIGURE_ARGS=--localstatedir=/var --extra-ldflags=-L\"${LOCALBASE}/lib\" \
|
||
|
--disable-libssh2 \
|
||
|
--prefix=${PREFIX} --cc=${CC} --disable-kvm \
|
||
|
--disable-linux-user --disable-linux-aio --disable-xen \
|
||
|
--python=${PYTHON_CMD} \
|
||
|
--extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \
|
||
|
--disable-curl \
|
||
|
--disable-gnutls \
|
||
|
--disable-gtk \
|
||
|
--disable-vte \
|
||
|
--disable-vnc-jpeg \
|
||
|
--disable-opengl \
|
||
|
--disable-usb-redir \
|
||
|
--disable-sdl \
|
||
|
--disable-system \
|
||
|
--disable-user \
|
||
|
--disable-guest-agent \
|
||
|
--disable-nettle \
|
||
|
--disable-gcrypt \
|
||
|
--disable-curses \
|
||
|
--disable-vnc \
|
||
|
--disable-virtfs \
|
||
|
--disable-brlapi \
|
||
|
--disable-fdt \
|
||
|
--disable-bluez \
|
||
|
--disable-kvm \
|
||
|
--disable-rdma \
|
||
|
--disable-uuid \
|
||
|
--disable-vde \
|
||
|
--disable-netmap \
|
||
|
--disable-cap-ng \
|
||
|
--disable-attr \
|
||
|
--disable-vhost-net \
|
||
|
--disable-spice \
|
||
|
--disable-rbd \
|
||
|
--disable-libiscsi \
|
||
|
--disable-libnfs \
|
||
|
--disable-smartcard \
|
||
|
--disable-libusb \
|
||
|
--disable-usb-redir \
|
||
|
--disable-lzo \
|
||
|
--disable-snappy \
|
||
|
--disable-bzip2 \
|
||
|
--disable-seccomp \
|
||
|
--disable-coroutine-pool \
|
||
|
--disable-glusterfs \
|
||
|
--disable-archipelago \
|
||
|
--disable-tpm \
|
||
|
--disable-numa \
|
||
|
--disable-blobs \
|
||
|
--without-pixman
|
||
|
|
||
|
LIB_DEPENDS=
|
||
|
|
||
|
post-install:
|
||
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-*
|
||
|
@${RMDIR} ${STAGEDIR}${DATADIR}
|
||
|
|
||
|
.include "${MASTERDIR}/Makefile"
|