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.

46 lines
1.3 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 some file you downloaded over to the build directory
#getfile "Waffles.txt"
# Abbreviation for downloading a file and copying it over
#dlfile "http://example.com/Waffles.txt" \
# "MD5SUM"
# Copy local file to build directory. Path relative to the location of the satellite file
#extrafile "Herpaderp.txt"
# Compilation instructions
cd "$name-$version"
10 years ago
./configure --prefix=/usr
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
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: