parallel-netcdf: set download URL with designated function

This commit is contained in:
2018-07-12 16:42:10 +02:00
parent c41f37e10c
commit 4cd235af3f

View File

@@ -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