Compare commits

...

6 Commits

Author SHA1 Message Date
an a9525403c4 macemu-git: ensure stability 2019-10-26 21:54:22 -04:00
an 3d500cb606 fix dkms 2019-10-26 20:44:58 -04:00
an 01e60764fa add macemu-git 2019-10-26 18:05:05 -04:00
an 4f03bb3e6d bump revisions 2019-10-26 18:02:13 -04:00
an bceed93ef3 applyppf: use vinstall 2019-10-26 14:18:02 -04:00
an 5a86a723e2 fix license 2019-10-26 03:58:11 -04:00
5 changed files with 72 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'alephone'
pkgname=alephone
version=20190331
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel libcurl-devel expat-devel ffmpeg-devel libpng-devel

View File

@ -1,12 +1,12 @@
# Template file for 'applyppf'
pkgname=applyppf
version=3.0
revision=1
revision=2
hostmakedepends="unzip"
create_wrksrc=yes
short_desc="PlayStation Patch File application tool"
maintainer="Alison Watson <marrub@greyserv.net>"
license="GPL-3.0-or-later"
license="custom:applyppf"
homepage="http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/emulators/applyppf/DESCR"
distfiles="http://ftp.netbsd.org/pub/pkgsrc/distfiles/applyppf3_src.zip"
checksum=49a1be17e1c87a41a85068d23afad3860ede49e61db90d1d086ead036d63eae2
@ -16,5 +16,5 @@ do_build() {
}
do_install() {
install -Dm0755 applyppf "${DESTDIR}"/usr/bin/applyppf
vinstall applyppf 0755 usr/bin/applyppf
}

View File

@ -0,0 +1,5 @@
PACKAGE_NAME="sheepnet"
PACKAGE_VERSION="@VERSION@"
AUTOINSTALL=yes
BUILT_MODULE_NAME="sheep_net"
DEST_MODULE_LOCATION="/kernel/net"

View File

@ -0,0 +1 @@
sheep_net

View File

@ -0,0 +1,62 @@
# Template file for 'macemu-git'
pkgname=macemu-git
version=20190405
revision=3
_git_hash=01052ca89d22882c870b84c5498cd0ee9a843b6b
wrksrc="macemu-${_git_hash}"
hostmakedepends="make automake libtool pkg-config"
makedepends="gtk+-devel SDL-devel vde2-devel"
depends="dkms"
short_desc="Basilisk II and SheepShaver Macintosh emulators"
maintainer="Alison Watson <marrub@greyserv.net>"
license="GPL-2.0-or-later"
homepage="https://github.com/cebix/macemu"
distfiles="https://github.com/cebix/macemu/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=65aa7c4f7b6bcf1f83b2c44589fcdeded10104a14532fa98ad2b04b31827a599
archs="i686* x86_64*"
dkms_modules="sheep_net ${version}"
_dkms_name="sheep_net-${version}"
nopie=yes
do_configure() {
cd "${wrksrc}"/BasiliskII/src/Unix
./autogen.sh \
--prefix=/usr --enable-sdl-video --enable-sdl-audio --enable-tuntap \
--with-bincue --with-vdeplug
cd "${wrksrc}"/SheepShaver/src/Unix
./autogen.sh \
--prefix=/usr --enable-sdl-video --enable-sdl-audio --enable-tuntap \
--with-bincue --with-vdeplug
}
do_build() {
cd "${wrksrc}"/BasiliskII/src/Unix; make -j1
cd "${wrksrc}"/SheepShaver/src/Unix; make -j1
cp -rL Linux/NetDriver _netdriver
}
do_install() {
cd "${wrksrc}"/BasiliskII/src/Unix
make DESTDIR="${DESTDIR}" install
cd "${wrksrc}"/SheepShaver/src/Unix
make DESTDIR="${DESTDIR}" install
cd ../..
vmkdir usr/share/doc
vmkdir usr/src
vcopy doc/Linux usr/share/doc/SheepShaver
vcopy src/Unix/_netdriver 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}/"
vmkdir usr/lib/modules-load.d
vinstall "${FILESDIR}"/sheep_net.conf 644 usr/lib/modules-load.d/
}