void-packages/srcpkgs/z80ex/template

29 lines
718 B
Bash
Raw Normal View History

2016-10-05 03:40:40 +00:00
# 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
2016-10-08 23:09:00 +00:00
pre_configure() {
sed -i 's#lib64#lib#g' CMakeLists.txt
}
2016-10-05 03:40:40 +00:00
pre_build() {
2016-10-08 23:09:00 +00:00
sed -i 's#/usr/local#/usr#g' build/Makefile
2016-10-05 03:40:40 +00:00
}
z80ex-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}