Browse Source

Adapting satellites for new freshnaut

master
mid-kid 9 years ago
parent
commit
ddde3194d8
  1. 13
      astronaut/hello.sat
  2. 1
      satellites/bin/ctrulib.sat
  3. 1
      satellites/bin/default_arm7.sat
  4. 1
      satellites/bin/devkitarm.sat
  5. 1
      satellites/bin/libfat-nds.sat
  6. 1
      satellites/bin/libnds.sat
  7. 2
      satellites/bin/palemoon.sat
  8. 2
      satellites/python3.4-crc16.sat
  9. 2
      satellites/python3.4-websocket-client.sat
  10. 3
      satellites/qwbfsmanager.sat
  11. 2
      satellites/speedtest-cli.sat
  12. 2
      satellites/vcs/ctr.sat

13
astronaut/hello.sat

@ -3,13 +3,23 @@
import "say_hello" # Import some functions. See functions/say_hello.sh for more info. import "say_hello" # Import some functions. See functions/say_hello.sh for more info.
# Info (Please declare it, as it will be used outside of this script, too) # Info (Please declare it, as it will be used outside of this script, too)
# Required info
name=hello # Name of the software, not the package name. name=hello # Name of the software, not the package name.
# Same source files will be used for the same software, despite the package name being different. # Same source files will be used for the same software, despite the package name being different.
version=2.10 version=2.10
# Optional info
update_url="https://ftp.gnu.org/gnu/$name/" # URL to a downloadable plain-text file which updates when a new version is available. update_url="https://ftp.gnu.org/gnu/$name/" # URL to a downloadable plain-text file which updates when a new version is available.
update_names="$name-$version.tar.gz" # Specify what the lines containing the version number look like on the download page.
# It's a comma-separated list, and can contain multiple entries.
# Every entry must contain at least one instance of $version,
# as another program will look for any different versions on the same page.
# You may not need to set this, in which case the program will try to guess it from the download commands.
vcs_compile=true # Set this to true if it's a vcs package, and we've just downloaded an update for it. This is meant to be used in functions/header_end hooks, and has to be set before header_end is called (or by a header_end hook). vcs_compile=true # Set this to true if it's a vcs package, and we've just downloaded an update for it. This is meant to be used in functions/header_end hooks, and has to be set before header_end is called (or by a header_end hook).
# Please note that setting the above info from an imported script is supported, as long as it's done in the header.
# Astronaut will generally prefix internal variables with "_". There are, however, a few exceptions. # Astronaut will generally prefix internal variables with "_". There are, however, a few exceptions.
# Some of those you can touch, some not. # Some of those you can touch, some not.
# "You shouldn't even look, unless you're hacking really bad, but definitely don't touch"-variables: # "You shouldn't even look, unless you're hacking really bad, but definitely don't touch"-variables:
@ -49,7 +59,10 @@ header_end # End of the header.
# - dlextract # - dlextract
# - dlfile # - dlfile
# - extrafile # - extrafile
# - import
# getfile and extract are technically allowed, but not encouraged. # getfile and extract are technically allowed, but not encouraged.
# Basically, do not use anything that touches dir_build or dir_install or does anything other than fetching the required files.
# The same rule above applies for imported commands.
# Name [REQUIRED], Destination, Custom command # Name [REQUIRED], Destination, Custom command
extract "$name-$version.tar.gz" \ extract "$name-$version.tar.gz" \

1
satellites/bin/ctrulib.sat

@ -2,6 +2,7 @@ name=ctrulib
libname=libctru libname=libctru
version=1.0.0 version=1.0.0
update_url="https://sourceforge.net/projects/devkitpro/files/$libname/" update_url="https://sourceforge.net/projects/devkitpro/files/$libname/"
update_names="<tr title=\"$version\" class=\"folder \">"
download "https://sourceforge.net/projects/devkitpro/files/$libname/$version/$libname-$version.tar.bz2" \ download "https://sourceforge.net/projects/devkitpro/files/$libname/$version/$libname-$version.tar.bz2" \
"c1c817a56fe091bb20a58e5cffe967c0" "c1c817a56fe091bb20a58e5cffe967c0"

1
satellites/bin/default_arm7.sat

@ -2,6 +2,7 @@ name=default_arm7
libname=libnds libname=libnds
version=0.6.0 version=0.6.0
update_url="https://sourceforge.net/projects/devkitpro/files/default arm7/" update_url="https://sourceforge.net/projects/devkitpro/files/default arm7/"
update_names="<tr title=\"$version\" class=\"folder \">"
download "https://sourceforge.net/projects/devkitpro/files/default arm7/$version/$name-$version.tar.bz2" \ download "https://sourceforge.net/projects/devkitpro/files/default arm7/$version/$name-$version.tar.bz2" \
"11cf9d749c3d346ca35c5d586364fad3" "11cf9d749c3d346ca35c5d586364fad3"

1
satellites/bin/devkitarm.sat

@ -1,6 +1,7 @@
name=devkitARM name=devkitARM
version=r45 version=r45
update_url="https://sourceforge.net/projects/devkitpro/files/$name/" update_url="https://sourceforge.net/projects/devkitpro/files/$name/"
update_names="/$name/${name}_$version/"
download "https://sourceforge.net/projects/devkitpro/files/$name/${name}_$version/${name}_$version-x86_64-linux.tar.bz2" \ download "https://sourceforge.net/projects/devkitpro/files/$name/${name}_$version/${name}_$version-x86_64-linux.tar.bz2" \
"660dd47bae0e4b70a0a649b4bc833e33" "660dd47bae0e4b70a0a649b4bc833e33"

1
satellites/bin/libfat-nds.sat

@ -2,6 +2,7 @@ name=libfat-nds
libname=libnds libname=libnds
version=1.0.14 version=1.0.14
update_url="https://sourceforge.net/projects/devkitpro/files/libfat/" update_url="https://sourceforge.net/projects/devkitpro/files/libfat/"
update_names="<tr title=\"$version\" class=\"folder \">"
download "https://sourceforge.net/projects/devkitpro/files/libfat/$version/$name-$version.tar.bz2" \ download "https://sourceforge.net/projects/devkitpro/files/libfat/$version/$name-$version.tar.bz2" \
"cc1712a56c8b0c133974936c69599f0e" "cc1712a56c8b0c133974936c69599f0e"

1
satellites/bin/libnds.sat

@ -1,6 +1,7 @@
name=libnds name=libnds
version=1.5.12 version=1.5.12
update_url="https://sourceforge.net/projects/devkitpro/files/$name/" update_url="https://sourceforge.net/projects/devkitpro/files/$name/"
update_names="<tr title=\"$version\" class=\"folder \">"
download "https://sourceforge.net/projects/devkitpro/files/$name/$version/$name-$version.tar.bz2" \ download "https://sourceforge.net/projects/devkitpro/files/$name/$version/$name-$version.tar.bz2" \
"49f4e8dfee73c3fd9897cf314eb6d359" "49f4e8dfee73c3fd9897cf314eb6d359"

2
satellites/bin/palemoon.sat

@ -2,7 +2,7 @@ name=palemoon
version=25.8.1 version=25.8.1
update_url="https://linux.palemoon.org/download/mainline/" update_url="https://linux.palemoon.org/download/mainline/"
download "https://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x86_64.tar.bz2" \ download "http://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x86_64.tar.bz2" \
"fcd7fdf3e91c77cdfafdbfec6582a7e8" "fcd7fdf3e91c77cdfafdbfec6582a7e8"
extrafile "palemoon.desktop" extrafile "palemoon.desktop"
header_end header_end

2
satellites/python3.4-crc16.sat

@ -2,7 +2,7 @@ import "compile/python"
name=pycrc16 name=pycrc16
version=0.1.1 version=0.1.1
update_url="https://api.github.com/repos/gennady/$name/tags" update_url="https://github.com/gennady/$name/releases"
dlextract "https://github.com/gennady/$name/archive/v$version.tar.gz" \ dlextract "https://github.com/gennady/$name/archive/v$version.tar.gz" \
"0e6432cea6cd71a151cfe7fba96b67c9" "0e6432cea6cd71a151cfe7fba96b67c9"

2
satellites/python3.4-websocket-client.sat

@ -2,7 +2,7 @@ import "compile/python"
name=websocket-client name=websocket-client
version=0.34.0 version=0.34.0
update_url="https://api.github.com/repos/liris/$name/tags" update_url="https://github.com/liris/$name/releases"
dlextract "https://github.com/liris/$name/archive/v$version.tar.gz" \ dlextract "https://github.com/liris/$name/archive/v$version.tar.gz" \
"d7b222cb75877a5ddd5a0260f09af2e6" "d7b222cb75877a5ddd5a0260f09af2e6"

3
satellites/qwbfsmanager.sat

@ -4,7 +4,8 @@ import "download/git"
name=qwbfsmanager name=qwbfsmanager
version=1.2.5 version=1.2.5
update_url="https://api.github.com/repos/pasnox/$name/tags" update_url="https://github.com/pasnox/$name/releases"
update_names="v$version.tar.gz"
# Downloading this way to get dependencies. # Downloading this way to get dependencies.
download_git "https://github.com/pasnox/$name" "v$version" download_git "https://github.com/pasnox/$name" "v$version"

2
satellites/speedtest-cli.sat

@ -2,7 +2,7 @@ import "compile/python"
name=speedtest-cli name=speedtest-cli
version=0.3.4 version=0.3.4
update_url="https://api.github.com/repos/sivel/$name/tags" update_url="https://github.com/sivel/$name/releases"
dlextract "https://github.com/sivel/$name/archive/v$version.tar.gz" \ dlextract "https://github.com/sivel/$name/archive/v$version.tar.gz" \
"45344501fab5e19492ae3ef1de4ed9ae" "45344501fab5e19492ae3ef1de4ed9ae"

2
satellites/vcs/ctr.sat

@ -2,7 +2,7 @@ import "vcs/git"
name=ctr name=ctr
vcs_git "https://github.com/b1l1s/$name" vcs_git "https://github.com/b1l1s/$name"
header_end header_end
cd "$name" cd "$name"

Loading…
Cancel
Save