|
@ -1,6 +1,6 @@ |
|
|
# Example of a satellite file, which is just a shell script with a cool name. |
|
|
# Example of a satellite file, which is just a shell script with a cool name. |
|
|
|
|
|
|
|
|
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 |
|
|
# Required info |
|
@ -46,19 +46,19 @@ define_option 'test=Default value' # It is also allowed to provide no descripti |
|
|
# Get them files. |
|
|
# Get them files. |
|
|
# URL [REQUIRED], MD5sum, Custom command |
|
|
# URL [REQUIRED], MD5sum, Custom command |
|
|
download "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
download "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
"6cd0ffea3884a4e79330338dcc2987d6" \ |
|
|
'6cd0ffea3884a4e79330338dcc2987d6' \ |
|
|
"curl -L -o {dst} {src}" |
|
|
'curl -L -o {dst} {src}' |
|
|
|
|
|
|
|
|
# Abbreviation download and extract. Does not allow custom commands. |
|
|
# Abbreviation download and extract. Does not allow custom commands. |
|
|
#dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
#dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ |
|
|
# "6cd0ffea3884a4e79330338dcc2987d6" |
|
|
# '6cd0ffea3884a4e79330338dcc2987d6' |
|
|
|
|
|
|
|
|
# Abbreviation for downloading a file and copying it over. |
|
|
# Abbreviation for downloading a file and copying it over. |
|
|
#dlfile "http://example.com/Waffles.txt" \ |
|
|
#dlfile 'http://example.com/Waffles.txt' \ |
|
|
# "MD5SUM" |
|
|
# 'MD5SUM' |
|
|
|
|
|
|
|
|
# Copy local file to build directory. File should be stored in $(basedir <satellite file>)/extrafiles/$name/ |
|
|
# Copy local file to build directory. File should be stored in $(basedir <satellite file>)/extrafiles/$name/ |
|
|
#extrafile "Herpaderp.txt" |
|
|
#extrafile 'Herpaderp.txt' |
|
|
|
|
|
|
|
|
header_end # End of the header. |
|
|
header_end # End of the header. |
|
|
# The only commands that should be in the header are: |
|
|
# The only commands that should be in the header are: |
|
|