summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-23 20:41:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-23 20:41:15 +0100
commit845317b460ee99ad633534cad4de72404af7e30b (patch)
treed458cd1bccc932a3261c11b306df64bf50c0d119
parentc69912d5e2c55587897bb75de3512082e382abae (diff)
add new packages syslinux, nasm and qemu (not perfect..)
-rw-r--r--mk/pkg-bottom.mk1
-rw-r--r--package/nasm/Makefile26
-rw-r--r--package/qemu/Makefile26
-rw-r--r--package/syslinux/Makefile28
4 files changed, 81 insertions, 0 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 82f7b8588..196aced3c 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -79,6 +79,7 @@ else ifeq ($(strip ${CONFIG_STYLE}),)
--program-prefix= \
--program-suffix= \
--prefix=/usr \
+ --bindir=/usr/bin \
--datadir=/usr/share \
--mandir=/usr/share/man \
--libexecdir=/usr/libexec \
diff --git a/package/nasm/Makefile b/package/nasm/Makefile
new file mode 100644
index 000000000..5a92cdaec
--- /dev/null
+++ b/package/nasm/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= nasm
+PKG_VERSION:= 2.07
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 84d8e009b3d2565a810ab3ddad1f4f63
+PKG_DESCR:= the netwide assembler
+PKG_SECTION:= devel
+PKG_URL:= http://sourceforge.net/projects/nasm/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nasm/nasm%20sources/2.07/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,NASM,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+FAKE_FLAGS+= INSTALLROOT=${WRKINST}
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_NASM)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/nasm \
+ $(IDIR_NASM)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
new file mode 100644
index 000000000..6d5de5bab
--- /dev/null
+++ b/package/qemu/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= qemu
+PKG_VERSION:= 0.13.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 397a0d665da8ba9d3b9583629f3d6421
+PKG_DESCR:= cpu and system emulator
+PKG_SECTION:= misc
+PKG_URL:= http://wwww.qemu.org/
+PKG_SITES:= http://wiki.qemu.org/download/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,QEMU,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= minimal
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_QEMU)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/local/bin/qemu* \
+ $(IDIR_QEMU)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/syslinux/Makefile b/package/syslinux/Makefile
new file mode 100644
index 000000000..c5b8de89c
--- /dev/null
+++ b/package/syslinux/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= syslinux
+PKG_VERSION:= 4.03
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 086ac1c569d226a5e2ae3d605de09a1d
+PKG_DESCR:= lightweight bootloaders
+PKG_SECTION:= misc
+PKG_BUILDDEP:= nasm
+PKG_URL:= http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
+PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SYSLINUX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+FAKE_FLAGS+= INSTALLROOT=${WRKINST}
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_SYSLINUX)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/syslinux \
+ $(IDIR_SYSLINUX)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk