summaryrefslogtreecommitdiffstats
path: root/package/goldfish-qemu/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-07 12:50:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-07 12:50:15 +0000
commit6babc9b91ab6cdd9305b270f269b8622c527a88e (patch)
treeb1bd865ddc103600da0e66dbdaf6233a0ae3dd96 /package/goldfish-qemu/Makefile
parenta81aed2f57aef263f83f31c8d405d086776f7415 (diff)
move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/goldfish-qemu/Makefile')
-rw-r--r--package/goldfish-qemu/Makefile70
1 files changed, 0 insertions, 70 deletions
diff --git a/package/goldfish-qemu/Makefile b/package/goldfish-qemu/Makefile
deleted file mode 100644
index e5b4083ea..000000000
--- a/package/goldfish-qemu/Makefile
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=goldfish-qemu
-PKG_REV:=2b8ea29e2bd12f876a4d06647e6077bf72de567e
-PKG_VERSION:=20090429
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=git://android.git.kernel.org/platform/external/qemu
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_TARGETS:=bin
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/goldfish-qemu
- SECTION:=emulator
- CATEGORY:=Emulators
- DEPENDS:=@TARGET_goldfish
- TITLE:=A modified version of the Google Android Emulator
- URL:=http://www.android.com/
-endef
-
-LIBSDL_PATCHED:=sdl-1.2.12-android-20080919
-
-define Download/libsdl-patched
- FILE:=$(LIBSDL_PATCHED).tar.gz
- URL:=http://android.git.kernel.org/pub
- MD5SUM:=22df8cbb2ecb811938eba8410e861650
-endef
-$(eval $(call Download,libsdl-patched))
-
-Build/Exports=
-
-define Build/Prepare
- $(call Build/Prepare/Default)
- zcat $(DL_DIR)/$(LIBSDL_PATCHED).tar.gz | tar x -C $(PKG_BUILD_DIR)
-endef
-
-define Build/Configure
- [ -x $(PKG_BUILD_DIR)/libsdl/bin/sdl-config ] || ( \
- cd $(PKG_BUILD_DIR)/$(LIBSDL_PATCHED); \
- ./android-configure --prefix=$(PKG_BUILD_DIR)/libsdl; \
- make all install; \
- )
-endef
-
-define Build/Compile
- (cd $(PKG_BUILD_DIR); \
- [ -f $(PKG_BUILD_DIR)/objs/config.make ] || \
- ./android-configure.sh --sdl-config=$(PKG_BUILD_DIR)/libsdl/bin/sdl-config \
- )
- $(MAKE) -C $(PKG_BUILD_DIR)
-endef
-
-define Package/goldfish-qemu/install
- $(INSTALL_DIR) $(1)
- $(CP) $(PKG_BUILD_DIR)/objs/emulator $(1)/
- $(CP) ./skins $(1)/
-endef
-
-$(eval $(call BuildPackage,goldfish-qemu))