-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
209 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.TH tater 1 2023-01-16 | ||
|
||
.SH NAME | ||
tater \- simple scripting language for tot lovers | ||
|
||
.SH SYNOPSIS | ||
.B tater | ||
[\fIOPTION\fR]... [\fIFILE\fR] | ||
.LP | ||
.B options: | ||
\fB-d\fR, | ||
\fB-s\fR, | ||
\fB-t\fR, | ||
\fB-h\fR, | ||
\fB-v\fR, | ||
.LP | ||
|
||
.SH DESCRIPTION | ||
.B tater | ||
is a simple scripting language based upon the excellent work of Robert Nystrom. | ||
|
||
If a file is note passed on the command line the \fBREPL\fR will be started. | ||
|
||
.SH OPTIONS | ||
.TP | ||
\fB\-d\fR | ||
Enable debug mode | ||
.TP | ||
\fB\-s\fR | ||
Garbage collection stress mode | ||
.TP | ||
\fB\-t\fR | ||
Garbage collection tracing | ||
.TP | ||
\fB\-h\fR | ||
Help | ||
.TP | ||
\fB\-v\fR | ||
Version and license information | ||
|
||
.SH NOTES | ||
.PP | ||
\fBtater\fR is \fBALPHA\fR quality. | ||
|
||
.SH AUTHOR | ||
Jason Woodward <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
tater for Debian | ||
--------------- | ||
|
||
<Possible notes regarding this package - if none, delete this file.> | ||
|
||
-- Jason Woodward <[email protected]> Mon, 16 Jan 2023 19:17:19 -0500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
tater for Debian | ||
--------------- | ||
|
||
<This file describes information about the source package, see Debian policy | ||
manual section 4.14. You WILL either need to modify or delete this file.> | ||
|
||
|
||
|
||
-- Jason Woodward <[email protected]> Mon, 16 Jan 2023 19:17:19 -0500 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
tater (0.1-1) UNRELEASED; urgency=medium | ||
|
||
* Initial release. | ||
|
||
-- Jason Woodward <[email protected]> Mon, 16 Jan 2023 19:17:19 -0500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Source: tater | ||
Section: interpreters | ||
Priority: optional | ||
Maintainer: Jason Woodward <[email protected]> | ||
Rules-Requires-Root: no | ||
Build-Depends: | ||
debhelper-compat (= 13), | ||
Standards-Version: 4.6.1 | ||
Homepage: https://software.jaos.org | ||
Vcs-Browser: https://software.jaos.org/git/tater | ||
Vcs-Git: https://software.jaos.org/git/tater | ||
|
||
Package: tater | ||
Architecture: any | ||
Depends: | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
Description: Simple scripting language because everyone loves tots. | ||
Simple scripting language because everyone loves tots. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Source: https://software.jaos.org/git/tater | ||
Upstream-Name: tater | ||
Upstream-Contact: [email protected] | ||
|
||
Files: | ||
* | ||
Copyright: | ||
2022-2023 Jason Woodward <woodwardj at jaos dot org> | ||
License: GPL-2.0+ | ||
|
||
Files: | ||
debian/* | ||
Copyright: | ||
2023 Jason Woodward <[email protected]> | ||
License: GPL-2.0+ | ||
|
||
License: GPL-2.0+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/> | ||
Comment: | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/make -f | ||
|
||
# See debhelper(7) (uncomment to enable). | ||
# Output every command that modifies files on the build system. | ||
#export DH_VERBOSE = 1 | ||
|
||
|
||
# See FEATURE AREAS in dpkg-buildflags(1). | ||
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
|
||
# See ENVIRONMENT in dpkg-buildflags(1). | ||
# Package maintainers to append CFLAGS. | ||
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | ||
# Package maintainers to append LDFLAGS. | ||
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | ||
|
||
|
||
%: | ||
dh $@ | ||
|
||
|
||
# dh_make generated override targets. | ||
# This is an example for Cmake (see <https://bugs.debian.org/641051>). | ||
#override_dh_auto_configure: | ||
# dh_auto_configure -- \ | ||
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.source | ||
README.Debian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Repository-Browse: https://software.jaos.org/git/tater | ||
Repository: https://software.jaos.org/git/tater |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/sh | ||
set -fexuo pipefail | ||
# Slackware build script for tater | ||
# Copyright (C) 2022-2023 Jason Woodward <woodwardj at jaos dot org> | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 2 of the License, or | ||
# any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Library General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
|
||
VERSION=${1:-$(grep '^\s*version:' meson.build | cut -f2 -d\')} | ||
BUILD=${BUILD:-1} | ||
|
||
if [ -z "${ARCH:=}" ]; then | ||
case "$( uname -m )" in | ||
i?86) ARCH=i586 ;; | ||
arm*) ARCH=arm ;; | ||
aarch64*) ARCH=aarch64 ;; | ||
*) ARCH=$( uname -m ) ;; | ||
esac | ||
fi | ||
|
||
TOP="${PWD}" | ||
DESTDIR="${TOP}/pkg" | ||
rm -rf "${DESTDIR}" | ||
|
||
meson setup slackbuild --prefix=/usr --sysconfdir=/etc --mandir=/usr/man --buildtype=debugoptimized | ||
meson compile -C slackbuild | ||
meson install -C slackbuild --destdir="${DESTDIR}" | ||
# meson >= 1.0 also has --strip build into install | ||
|
||
find "${DESTDIR}" -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | ||
|
||
find "${DESTDIR}/usr/man" -type f -exec gzip -9 {} \; || true | ||
|
||
mkdir -p "${DESTDIR}/install" | ||
cat <<EOF > "${DESTDIR}"/install/slack-desc | ||
tater: tater (a simple scripting lanaguage for tot lovers) | ||
tater: | ||
tater: tater is a simple scripting language. | ||
tater: | ||
tater: https://software.jaos.org/git/tater | ||
tater: | ||
tater: | ||
tater: | ||
tater: | ||
tater: | ||
tater: | ||
EOF | ||
(cd "${DESTDIR}" && /sbin/makepkg -l y -c n "${TOP}/tater-${VERSION}-${ARCH}-${BUILD}.txz") |