26 lines
633 B
Bash
26 lines
633 B
Bash
# Template file for 'x48'
|
|
pkgname=x48
|
|
version=0.6.4
|
|
revision=2
|
|
create_wrksrc=yes
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config"
|
|
makedepends="libXt-devel libXext-devel"
|
|
short_desc="HP48 CPU Emulator"
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
license="GPL-3"
|
|
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() {
|
|
sed -i '698s/inline/static inline/' src/emulate.c
|
|
}
|
|
|
|
pre_install() {
|
|
sed -i 's:helvetica:fixed:' X48
|
|
}
|