void-packages/srcpkgs/x48/template

27 lines
652 B
Bash

# Template file for 'x48'
pkgname=x48
version=0.6.4
revision=3
create_wrksrc=yes
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libXt-devel libXext-devel"
short_desc="HP48 CPU Emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/x48.berlios/"
distfiles="${SOURCEFORGE_SITE}/x48.berlios/files/$pkgname-$version.tar.bz2"
checksum=dd42fb3dfde860abb758f8e6d5ccd01845bbf0dcd808b87786eec3ef7091067f
pre_configure() {
./autogen.sh
}
pre_build() {
vsed -i '698s/inline/static inline/' src/emulate.c
}
pre_install() {
vsed -i 's:helvetica:fixed:' X48
}