autosp: unbundle from texlive_core

This commit is contained in:
Joachim Mairböck
2024-08-31 11:52:43 +02:00
parent 20b0248347
commit bc3eb2a6cc
2 changed files with 62 additions and 4 deletions

View File

@@ -0,0 +1,61 @@
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="20142023 Bob Tennent"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://mirrors.ctan.org/support/autosp/source/autosp-${portVersion//_/-}.tar.gz"
CHECKSUM_SHA256="b5d797216efecbcc36617c338d41daecc9195c416e1279a0bf0a3eb26f51ca92"
SOURCE_DIR="autosp-${portVersion//_/-}"
ARCHITECTURES="all"
PROVIDES="
autosp = $portVersion
cmd:autosp
cmd:rebar
cmd:tex2aspc
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
"
TEST_REQUIRES="
cmd:diff
"
defineDebugInfoPackage autosp \
$binDir/autosp \
$binDir/rebar \
$binDir/tex2aspc
BUILD()
{
runConfigure ./configure
# override default cflags for gcc2 support
make $jobArgs AM_CFLAGS="-fno-common -ansi -Wall -Werror"
}
INSTALL()
{
make install
}
TEST()
{
make check
}