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.
26 lines
894 B
26 lines
894 B
10 years ago
|
# Example of a satellite file, which is just a shell script with a cool name.
|
||
|
|
||
10 years ago
|
# Info (Please declare it, as it will be used outside of this script, too)
|
||
10 years ago
|
name=hello
|
||
|
version=2.9
|
||
|
|
||
10 years ago
|
# Get them files
|
||
10 years ago
|
# URL [REQUIRED], MD5sum [REQUIRED], Custom command
|
||
|
download "http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz" \
|
||
|
"67607d2616a0faaf5bc94c59dca7c3cb" \
|
||
|
"curl -L -o {dst} {src}"
|
||
|
# Name [REQUIRED], Custom command
|
||
|
extract "$name-$version.tar.gz" \
|
||
|
"tar xvf {src}"
|
||
|
# Abbreviation for the above functions. Does not allow custom commands
|
||
|
#dlextract "http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz" \
|
||
|
# "67607d2616a0faaf5bc94c59dca7c3cb"
|
||
|
# Copy local file to build directory. Path relative to the location of the satellite file
|
||
|
#extrafile "Herpaderp.txt"
|
||
10 years ago
|
|
||
10 years ago
|
# Compilation instructions
|
||
10 years ago
|
cd "$name-$version"
|
||
|
./configure
|
||
|
make
|
||
|
make DESTDIR="$dir_install" install
|