summaryrefslogtreecommitdiff
path: root/package/qemu/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:32:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:32:55 +0100
commit3d45df344602687c8983f5fb609721aa8ca2469f (patch)
treebd089044e1402b116cf6447eda74e81b7f65d129 /package/qemu/Makefile
parent897be7157eb98898fdc62224857025d4a0f01dd5 (diff)
rework PKG_FLAVOURS. Subpackages can have flavours, so
always add PKG_NAME to PKG_FLAVOURS variable. ala PKG_FLAVOURS_LIBNCURSES. Bug reported by Phil Sutter.
Diffstat (limited to 'package/qemu/Makefile')
-rw-r--r--package/qemu/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index 864010281..4b8c33c9c 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -9,7 +9,8 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= 397a0d665da8ba9d3b9583629f3d6421
PKG_DESCR:= cpu and system emulator
PKG_SECTION:= misc
-PKG_BUILDDEP:= zlib
+PKG_DEPENDS:= zlib libSDL
+PKG_BUILDDEP:= zlib sdl
PKG_URL:= http://wwww.qemu.org/
PKG_SITES:= http://wiki.qemu.org/download/
@@ -27,8 +28,11 @@ CONFIGURE_ARGS+= --host-cc=$(HOSTCC) \
TLDFLAGS+= -pthread -lrt
post-install:
+ $(INSTALL_DIR) $(IDIR_QEMU)/usr/share/qemu
$(INSTALL_DIR) $(IDIR_QEMU)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/qemu* \
$(IDIR_QEMU)/usr/bin
+ $(CP) $(WRKINST)/usr/share/qemu/* \
+ $(IDIR_QEMU)/usr/share/qemu
include ${TOPDIR}/mk/pkg-bottom.mk