build-scripts reviewed
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::set_download_url https://sourceforge.net/projects/$P/files/$P-${V_PKG}.tar.bz2
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::set_build_dependencies "${COMPILER}"
|
||||
pbuild::make_all
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
giflib/5.1.4 unstable
|
||||
@@ -1,10 +1,5 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::set_download_url "https://sourceforge.net/projects/giflib/files/$P-${V_MAJOR}.x/$P-${V_PKG}/$P-${V_PKG}.tar.bz2
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::make_all
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
libungif/4.1.4 unstable
|
||||
+6
-10
@@ -1,14 +1,6 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="http://www.mpfr.org/$P-$V/$P-$V.tar.gz"
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gmp=$GMP_PREFIX \
|
||||
--disable-shared \
|
||||
|| exit 1
|
||||
}
|
||||
pbuild::set_download_url "http://www.mpfr.org/$P-$V/$P-$V.tar.gz"
|
||||
|
||||
# use system gcc to compile
|
||||
declare -rx CC=gcc
|
||||
@@ -16,4 +8,8 @@ declare -rx CC=gcc
|
||||
module use 'Libraries'
|
||||
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::make_all
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "--with-gmp=${GMP_PREFIX}"
|
||||
pbuild::add_configure_args "--disable-shared"
|
||||
}
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::set_download_url "https://ftp.pcre.org/pub/pcre/$P-${V_PKG}.tar.bz2"
|
||||
pbuild::add_to_group 'Tools'
|
||||
#pbuild::install_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
pcre/8.42 unstable
|
||||
+8
-11
@@ -1,17 +1,14 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="ftp://download.osgeo.org/libtiff/$P-$V.tar.gz"
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-pic=yes \
|
||||
--disable-shared \
|
||||
--disable-jpeg \
|
||||
|| exit 1
|
||||
}
|
||||
pbuild::set_download_url "ftp://download.osgeo.org/libtiff/$P-${V_PKG}.tar.gz"
|
||||
|
||||
CC=gcc
|
||||
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::make_all
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "--with-pic=yes"
|
||||
pbuild::add_configure_args "--disable-shared"
|
||||
pbuild::add_configure_args "--disable-jpeg"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user