1SUMMARY="Emulator for classic PCs" 2DESCRIPTION="PCem is an emulator for classic PCs, from the IBM PC to AMI \ 3WinBIOS. It also emulates a wide variety of graphics cards, including various \ 43dFX Voodoo, ATI VGA, and IBM VGA." 5HOMEPAGE="http://pcem-emulator.co.uk" 6COPYRIGHT="2007-2015 Tom Walker" 7LICENSE="GNU GPL v2" 8REVISION="1" 9SOURCE_URI="http://pcem-emulator.co.uk/files/PCemV${portVersion}Linux.tar.gz" 10CHECKSUM_SHA256="7d4e713b8198d95e7f629ae611dc8389bac8dcb370ab135272eafc5646435be8" 11SOURCE_DIR="" 12 13ARCHITECTURES="?all !x86_gcc2" 14SECONDARY_ARCHITECTURES="?x86" 15 16PROVIDES=" 17 pcem$secondaryArchSuffix = $portVersion 18 app:pcem$secondaryArchSuffix = $portVersion 19 " 20REQUIRES=" 21 haiku$secondaryArchSuffix 22 lib:liballeg$secondaryArchSuffix 23 lib:libalut$secondaryArchSuffix 24 lib:libopenal$secondaryArchSuffix 25 " 26 27BUILD_REQUIRES=" 28 devel:liballeg$secondaryArchSuffix 29 devel:libalut$secondaryArchSuffix 30 devel:libopenal$secondaryArchSuffix 31 " 32BUILD_PREREQUIRES=" 33 haiku${secondaryArchSuffix}_devel 34 cmd:autoconf 35 cmd:automake 36 cmd:cp 37 cmd:gcc$secondaryArchSuffix 38 cmd:ld$secondaryArchSuffix 39 cmd:make 40 cmd:sed 41 " 42 43PATCH() 44{ 45 sed -i "s/\[pthread\]/\[root\]/g" configure.ac 46} 47 48BUILD() 49{ 50 autoconf 51 runConfigure ./configure 52 sed -i s/aclocal-1.11/echo/g Makefile 53 sed -i s/automake-1.11/echo/g Makefile 54 sed -i s/autoconf-1.11/echo/g Makefile 55 sed -i "s/-DHAVE_LIBROOT=1/-DHAVE_LIBPTHREAD=1 -D__unix/g" src/Makefile 56 57 rm depcomp 58 cp /system/data/automake-*/depcomp . 59 make $jobArgs 60} 61 62INSTALL() 63{ 64 make install 65} 66