Commit 7e5e254e authored by gsell's avatar gsell
Browse files

Compile/root/build:

- enable-asimage added to configure call
- potential problems with installation fixed
parent 60a45fc0
......@@ -22,12 +22,12 @@ esac
#
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--disable-asimage \
--enable-asimage \
--enable-mathmore \
--disable-ldap \
--disable-mysql \
--disable-opengl \
--disable-python \
--enable-mathmore \
--with-cc=${CC} \
--with-cxx=${CXX} \
--with-f77=${F77} \
......@@ -45,6 +45,17 @@ pbuild::build() {
pbuild::install() {
make clean
mkdir -p "${PREFIX}"
cp -rv * "${PREFIX}"
mkdir -p "${DOCDIR}"
rsync --archive --verbose "${PREFIX}/LICENSE" "${DOCDIR}/LICENSE"
rsync --archive --verbose "${PREFIX}/man/" "${PREFIX}/share/man/"
rsync --archive --verbose "${PREFIX}/README/" "${DOCDIR}/README/"
rm -rf "${PREFIX}/LICENSE"
rm -rf "${PREFIX}/man/"
rm -rf "${PREFIX}/README"
rm -f Makefile
rm -rf config.*
rm -rf core
......@@ -67,15 +78,7 @@ pbuild::install() {
rm -rf tutorials
rm -rf rootx
mkdir -p share
mv man share
mkdir -p "${PREFIX}"
cp -rv * "${PREFIX}"
mkdir -p "${DOCDIR}"
mv -f "${PREFIX}/LICENSE" "${DOCDIR}"
rm -f "${DOCDIR}/README"
mv -f "${PREFIX}/README" "${DOCDIR}"
}
pbuild::postinstall() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment