macemu-git: ensure stability

master
an 2019-10-26 21:54:22 -04:00
parent 3d500cb606
commit a9525403c4
2 changed files with 7 additions and 20 deletions

View File

@ -1,2 +0,0 @@
# Required kernel parameter for native addressing
vm.mmap_min_addr=0

View File

@ -21,28 +21,18 @@ nopie=yes
do_configure() {
cd "${wrksrc}"/BasiliskII/src/Unix
./autogen.sh \
--prefix=/usr \
--enable-sdl-video \
--enable-sdl-audio \
--enable-jit-compiler \
--with-bincue \
--with-vdeplug
--prefix=/usr --enable-sdl-video --enable-sdl-audio --enable-tuntap \
--with-bincue --with-vdeplug
cd "${wrksrc}"/SheepShaver/src/Unix
./autogen.sh \
--prefix=/usr \
--enable-addressing=direct \
--enable-standalone-gui \
--enable-sdl-video \
--enable-sdl-audio \
--enable-tuntap \
--with-bincue \
--with-vdeplug
--prefix=/usr --enable-sdl-video --enable-sdl-audio --enable-tuntap \
--with-bincue --with-vdeplug
}
do_build() {
cd "${wrksrc}"/BasiliskII/src/Unix; make DESTDIR="${DESTDIR}" -j1
cd "${wrksrc}"/SheepShaver/src/Unix; make DESTDIR="${DESTDIR}" -j1
cd "${wrksrc}"/BasiliskII/src/Unix; make -j1
cd "${wrksrc}"/SheepShaver/src/Unix; make -j1
cp -rL Linux/NetDriver _netdriver
}
@ -62,8 +52,7 @@ do_install() {
vcopy doc/Linux usr/share/doc/SheepShaver
vcopy src/Unix/_netdriver usr/src/"${_dkms_name}"
vinstall "${FILESDIR}"/90-sheepshaver.conf 644 usr/lib/sysctl.d/
vinstall "${FILESDIR}"/dkms.conf 644 usr/src/"${_dkms_name}"/
vinstall "${FILESDIR}"/dkms.conf 644 usr/src/"${_dkms_name}"/
vsed -i "${PKGDESTDIR}"/usr/src/${_dkms_name}/dkms.conf \
-e "s/@VERSION@/${version}-${revision}/"