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

@@ -54,7 +54,6 @@ PROVIDES="
cmd:arlatex
cmd:authorindex
cmd:autoinst
cmd:autosp
cmd:axohelp
cmd:bbl2bib
cmd:bbox
@@ -356,7 +355,6 @@ PROVIDES="
cmd:t4ht
cmd:tangle
cmd:tex
cmd:tex2aspc
cmd:tex4ebook
cmd:tex4ht
cmd:texaccents
@@ -529,7 +527,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \
$prefix/bin/afm2pl \
$prefix/bin/afm2tfm \
$prefix/bin/aleph \
$prefix/bin/autosp \
$prefix/bin/axohelp \
$prefix/bin/bbox \
$prefix/bin/bibtex \
@@ -616,7 +613,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \
$prefix/bin/t4ht \
$prefix/bin/tangle \
$prefix/bin/tex \
$prefix/bin/tex2aspc \
$prefix/bin/tex4ht \
$prefix/bin/tftopl \
$prefix/bin/tie \
@@ -822,6 +818,7 @@ BUILD()
--disable-musixtnt \
--disable-psutils \
--disable-upmendex \
--disable-autosp \
--disable-t1utils \
--build=$HOST --host=$HOST

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
}