mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
53 lines
1.5 KiB
Bash
53 lines
1.5 KiB
Bash
SUMMARY="An Odyssey 2 / VideoPac emulator using the libretro API"
|
|
DESCRIPTION="This is the libretro port of O2EM, a Magnavox Odyssey 2 and \
|
|
Philips VideoPac emulator. These machines shared the same hardware and were \
|
|
rebranded depending on the market where they were sold."
|
|
HOMEPAGE="http://o2em.sourceforge.net/"
|
|
COPYRIGHT="1996-2018 Daniel Boris, the O2EM team, the libretro team"
|
|
LICENSE="Artistic"
|
|
REVISION="1"
|
|
srcGitRev="bdfb4000122bb32b9cabf46ffdaa4bcbc55f686b"
|
|
SOURCE_URI="https://github.com/libretro/libretro-o2em/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="ba62271504351539087dcdda0e8c7834615ee7121e56aadb86633ea552d10e6c"
|
|
SOURCE_FILENAME="libretro-o2em-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="libretro-o2em-$srcGitRev"
|
|
ADDITIONAL_FILES="o2em_libretro.info.in"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
o2em_libretro$secondaryArchSuffix = $portVersion
|
|
addon:o2em_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
$portDir/additional-files/o2em_libretro.info.in \
|
|
> o2em_libretro.info
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
o2em_libretro.info \
|
|
o2em_libretro.so
|
|
}
|