From dfb6b43b328481e9c23ad1c50d96f96fed7d6a73 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 21 Jan 2015 14:51:53 +0100 Subject: [PATCH 1/3] New package: bochs-2.6.7 --- srcpkgs/bochs/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/bochs/template diff --git a/srcpkgs/bochs/template b/srcpkgs/bochs/template new file mode 100644 index 00000000000..261d010f924 --- /dev/null +++ b/srcpkgs/bochs/template @@ -0,0 +1,18 @@ +pkgname="bochs" +version="2.6.7" +revision=1 +build_style=gnu-configure +short_desc="Highly portable open source IA-32 (x86) PC emulator" +maintainer="mid-kid " +license="LGPL-2.1" +homepage="http://bochs.sourceforge.net/" +hostmakedepends="pkg-config" +makedepends="libX11-devel libXrandr-devel gtk+-devel" +configure_args="--enable-debugger --enable-disasm" +distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz" +checksum="a4354eeb699662da869b038e225160ec726b883f1b4f425a06cf56cbffbb8282" + +do_build() { + sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile + make -j 1 +} From 06d9535d2642a41a31a7452d8164473e991d66bb Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 21 Jan 2015 14:59:03 +0100 Subject: [PATCH 2/3] bochs: changed intentation in template --- srcpkgs/bochs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bochs/template b/srcpkgs/bochs/template index 261d010f924..35fca3222f8 100644 --- a/srcpkgs/bochs/template +++ b/srcpkgs/bochs/template @@ -13,6 +13,6 @@ distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz" checksum="a4354eeb699662da869b038e225160ec726b883f1b4f425a06cf56cbffbb8282" do_build() { - sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile - make -j 1 + sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile + make -j 1 } From b83e78ad5574b459310aa39e0ced9bb13594cf23 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 21 Jan 2015 15:17:17 +0100 Subject: [PATCH 3/3] bochs: don't overwrite do_build --- srcpkgs/bochs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bochs/template b/srcpkgs/bochs/template index 35fca3222f8..ddedef28810 100644 --- a/srcpkgs/bochs/template +++ b/srcpkgs/bochs/template @@ -9,10 +9,10 @@ homepage="http://bochs.sourceforge.net/" hostmakedepends="pkg-config" makedepends="libX11-devel libXrandr-devel gtk+-devel" configure_args="--enable-debugger --enable-disasm" +disable_parallel_build=yes distfiles="$SOURCEFORGE_SITE/bochs/bochs-${version}.tar.gz" checksum="a4354eeb699662da869b038e225160ec726b883f1b4f425a06cf56cbffbb8282" -do_build() { +pre_build() { sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile - make -j 1 }