diff --git a/common/shlibs b/common/shlibs index e45bd28e29..f65a76e6cc 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2608,3 +2608,5 @@ libKF5WaylandClient.so.5 kwayland-5.26.0_1 libKF5IdleTime.so.5 kidletime-5.26.0_1 liblmdb.so.0 lmdb-0.9.18_2 libisns.so.0 libisns-0.96_1 +libz80ex.so.1 z80ex-1.1.21_1 +libz80ex_dasm.so.1 z80ex-1.1.21_1 diff --git a/srcpkgs/z80ex-devel b/srcpkgs/z80ex-devel new file mode 120000 index 0000000000..5b2c8474fe --- /dev/null +++ b/srcpkgs/z80ex-devel @@ -0,0 +1 @@ +z80ex \ No newline at end of file diff --git a/srcpkgs/z80ex/template b/srcpkgs/z80ex/template new file mode 100644 index 0000000000..7fac18e3bd --- /dev/null +++ b/srcpkgs/z80ex/template @@ -0,0 +1,25 @@ +# Template file for 'z80ex' +pkgname=z80ex +version=1.1.21 +revision=1 +build_style=cmake +short_desc="ZiLOG Z80 CPU emulation library" +maintainer="Diogo Leal " +license="GPL-2" +homepage="https://sourceforge.net/projects/z80ex/" +distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz" +checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530 + +pre_build() { + sed -i 's#/usr/local#/usr#g' Makefile +} + +z80ex-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}