Files
haikuports/dev-tex/autosp/autosp-2025_10_26.recipe
2026-03-31 22:27:22 +02:00

65 lines
1.5 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="A Preprocessor that generates note-spacing commands for MusiXTEX scores"
DESCRIPTION="autosp is a preprocessor that generates note-spacing commands for MusiXTeX scores. \
It simplifies the creation of MusiXTeX scores by converting (non-standard) commands of the form \
\\anotes ... \\en into one or more conventional note-spacing commands, as determined by the note \
values themselves, with \\sk spacing commands inserted as necessary. The coding for an entire \
measure can be entered one part at a time, without concern for note-spacing changes within the \
part or spacing requirements of other parts."
HOMEPAGE="https://ctan.org/pkg/autosp"
COPYRIGHT="20142025 Bob Tennent"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://mirrors.ctan.org/support/autosp/source/autosp-${portVersion//_/-}.tar.gz"
CHECKSUM_SHA256="a3688176b2bb189134e3c3500f03702f29c1947414765cb9a3e69fccd6fff32d"
SOURCE_DIR="autosp-${portVersion//_/-}"
ARCHITECTURES="all"
PROVIDES="
autosp = $portVersion
cmd:autosp
cmd:rebar
cmd:tex2aspc
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:awk
cmd:gcc
cmd:make
"
TEST_REQUIRES="
cmd:diff
"
defineDebugInfoPackage autosp \
$binDir/autosp \
$binDir/rebar \
$binDir/tex2aspc
BUILD()
{
autoreconf -fi
runConfigure ./configure
# override default cflags for gcc2 support
make $jobArgs AM_CFLAGS="-fno-common -ansi -Wall -Werror"
}
INSTALL()
{
make install
}
TEST()
{
make check
}