void-packages/srcpkgs/z80ex/template
2016-10-09 01:09:00 +02:00

28 lines
718 B
Bash

# 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 <diogo@diogoleal.com>"
license="GPL-2"
homepage="https://sourceforge.net/projects/z80ex/"
distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz"
checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530
pre_configure() {
sed -i 's#lib64#lib#g' CMakeLists.txt
}
pre_build() {
sed -i 's#/usr/local#/usr#g' build/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
}
}