mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: mednafen
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name=mednafen
|
||||||
|
revision=1
|
||||||
|
from_source=mednafen
|
||||||
|
imagedeps="build-essential"
|
||||||
|
hostdeps="xgcc xbinutils autoconf automake libtool pkgconfig libstdc++-v3"
|
||||||
|
deps="base sdl2 zlib"
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
${source_dir}/configure --disable-alsa --prefix=/usr --host=x86_64-astral --without-libflac
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=mednafen
|
||||||
|
version=1.32.1
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz"
|
||||||
|
tarball_sha512=5a99c62561823ba9a59d4dfd3b454f87989c83b873f61d8d25e44af7e8fbf25a7513d26c7566672538a62aac400281f611f2db943e88fe839cd05d088087f8d9
|
||||||
|
hostdeps="autoconf automake libtool pkgconfig"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user