37 lines
812 B
Plaintext
Executable File
37 lines
812 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
# Binary distribution with manual installation. See README.md
|
|
|
|
pbuild::add_to_group 'EM'
|
|
|
|
pbuild::set_download_url "https://grigoriefflab.umassmed.edu/system/tdf?path=ctffind-${V_PKG}-linux64.tar.gz&file=1&type=node&id=26"
|
|
|
|
#pbuild::prep() {
|
|
# local filename="ctffind-${V_PKG}-linux64.tar.gz"
|
|
# local dst="$PMODULES_DISTFILESDIR/${filename}"
|
|
# if [ -f "$dst" ]; then
|
|
# echo "Found cached $dst" >&2
|
|
# else
|
|
# ${curl:-curl} \
|
|
# --location \
|
|
# --fail \
|
|
# --output "$dst" \
|
|
# "https://grigoriefflab.umassmed.edu/system/tdf?path=${filename}&file=1&type=node&id=26"
|
|
# fi
|
|
#}
|
|
#
|
|
|
|
pbuild::configure() {
|
|
:
|
|
}
|
|
|
|
pbuild::compile() {
|
|
:
|
|
}
|
|
|
|
pbuild::install() {
|
|
mkdir -p "$PREFIX/bin"
|
|
mv "$SRC_DIR/"* "$PREFIX/bin"
|
|
}
|
|
|