SOURCE_URL added for automatic download

This commit is contained in:
2016-11-10 05:23:38 -08:00
parent 126d8e4cd1
commit 0812965a15
11 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env modbuild
#SOURCE_URL="http://github.com/xianyi/$P/archive/v$V.tar.gz"
pbuild::configure() {
case ${COMPILER} in
gcc )

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env modbuild
SOURCE_URL="https://sourceforge.net/projects/boost/files/$P/$V/boost_${V_MAJOR}_${V_MINOR}_${V_PATCHLVL}.tar.gz"
BOOST_BUILD_PATH="${MODULE_BUILDDIR}"
pbuild::configure() {

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env modbuild
SOURCE_URL="https://ftp.gnu.org/gnu/$P/$P-$V.tar.gz"
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \