You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
904 B
21 lines
904 B
# Example of a satellite file, which is just a shell script with a cool name.
|
|
|
|
# Info (Please declare it, as it will be used outside of this script, too)
|
|
name=hello
|
|
version=2.9
|
|
|
|
# Get them files
|
|
download "http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz" \ # URL [REQUIRED]
|
|
"67607d2616a0faaf5bc94c59dca7c3cb" \ # MD5sum [REQUIRED]
|
|
"curl -L -o {dst} {src}" # Custom command
|
|
extract "$name-$version.tar.gz" \ # Name [REQUIRED]
|
|
"tar xvf {src}" # Custom command
|
|
#dlextract "http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz" \ # Abbreviation for the above functions
|
|
# "67607d2616a0faaf5bc94c59dca7c3cb" # Does not allow custom commands
|
|
#extrafile "Herpaderp.txt" # Copy local file to build directory. Path relative to the location of the satellite file
|
|
|
|
# Compilation instructions
|
|
cd "$name-$version"
|
|
./configure
|
|
make
|
|
make DESTDIR="$dir_install" install
|
|
|