parallel-netcdf: set download URL with designated function
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/$P-$V.tar.gz"
|
||||
|
||||
pbuild::pre_configure() {
|
||||
:
|
||||
}
|
||||
pbuild::add_to_group 'HDF5'
|
||||
pbuild::set_download_url "http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/$P-$V.tar.gz"
|
||||
pbuild::set_docfiles \
|
||||
AUTHORS \
|
||||
COPYING \
|
||||
COPYRIGHT \
|
||||
CREDITS \
|
||||
ChangeLog \
|
||||
NEWS \
|
||||
RELEASE_NOTES
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
@@ -15,14 +20,5 @@ pbuild::configure() {
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::add_to_group 'HDF5'
|
||||
pbuild::set_docfiles \
|
||||
AUTHORS \
|
||||
COPYING \
|
||||
COPYRIGHT \
|
||||
CREDITS \
|
||||
ChangeLog \
|
||||
NEWS \
|
||||
RELEASE_NOTES
|
||||
pbuild::make_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user