Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
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.
 
 
 
 
 

33 lines
1.0 KiB

# 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
# 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"
# Compilation instructions
cd "$name-$version"
./configure
make
# Know if the user wants the package to be checked
if do_check; then
make check
fi
# Abbreviation for the above, for single commands
#do_check make check
make DESTDIR="$dir_install" install