mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
pcem: Create (broken) recipe -- wants linux/cdrom.h
... which we don't have.
This commit is contained in:
65
app-emulation/pcem/pcem-10.1.recipe
Normal file
65
app-emulation/pcem/pcem-10.1.recipe
Normal file
@@ -0,0 +1,65 @@
|
||||
SUMMARY="Emulator for classic PCs"
|
||||
DESCRIPTION="PCem is an emulator for classic PCs, from the IBM PC to AMI \
|
||||
WinBIOS. It also emulates a wide variety of graphics cards, including various \
|
||||
3dFX Voodoo, ATI VGA, and IBM VGA."
|
||||
HOMEPAGE="http://pcem-emulator.co.uk"
|
||||
COPYRIGHT="2007-2015 Tom Walker"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://pcem-emulator.co.uk/files/PCemV${portVersion}Linux.tar.gz"
|
||||
CHECKSUM_SHA256="7d4e713b8198d95e7f629ae611dc8389bac8dcb370ab135272eafc5646435be8"
|
||||
SOURCE_DIR=""
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
pcem$secondaryArchSuffix = $portVersion
|
||||
app:pcem$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:liballeg$secondaryArchSuffix
|
||||
lib:libopenal$secondaryArchSuffix
|
||||
lib:libalut$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:liballeg$secondaryArchSuffix
|
||||
devel:libopenal$secondaryArchSuffix
|
||||
devel:libalut$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:sed
|
||||
cmd:cp
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i "s/\[pthread\]/\[root\]/g" configure.ac
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
sed -i s/aclocal-1.11/echo/g Makefile
|
||||
sed -i s/automake-1.11/echo/g Makefile
|
||||
sed -i s/autoconf-1.11/echo/g Makefile
|
||||
sed -i "s/-DHAVE_LIBROOT=1/-DHAVE_LIBPTHREAD=1 -D__unix/g" src/Makefile
|
||||
|
||||
rm depcomp
|
||||
cp /system/data/automake-*/depcomp .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user