void-packages/srcpkgs/bacon/template

33 lines
923 B
Bash

# Template file for 'bacon'
pkgname=bacon
version=4.4
revision=1
build_style=gnu-configure
configure_args="--with-bash --enable-gui-fltk"
hostmakedepends="pkg-config m4 which flex"
makedepends="fltk-devel"
short_desc="BASIC to C converter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.basic-converter.org"
changelog="https://www.basic-converter.org/stable/CHANGES"
distfiles="http://www.basic-converter.org/stable/bacon-${version}.tar.gz"
checksum=dbd7c983530743922c8ae21ef5c471df894ece9af12b4075564deb7e0659babf
disable_parallel_build=yes
nocross=yes
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" musl-fts-devel"
depends+=" musl-fts-devel"
LDFLAGS="-lfts"
fi
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="bacon.sh: line 776: 2242 Segmentation fault coproc COPROC ${g_BACONTOKEN}.exe"
fi
post_install() {
rm -f ${DESTDIR}/usr/share/bacon/LICENSE
vlicense LICENSE
}