Qalculate

From CBLFS
Jump to navigationJump to search
Download Source (KDE desktop) : http://downloads.sourceforge.net/qalculate/qalculate-kde-0.9.6.tar.gz
Download Source (Gnome desktop) : http://prdownloads.sourceforge.net/qalculate/qalculate-gtk-0.9.6.tar.gz

Introduction to Qalculate

Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface.

Project Homepage: Unknown

Dependencies

Required (KDE desktop)

Required (Gnome desktop)

Required

Non-Multilib

Compile the package (KDE desktop):

./configure --prefix=${KDE_PREFIX} --sysconfdir=/etc/kde \
    --disable-debug &&
make

Compile the package (Gnome desktop):

./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --disable-debug &&
make

Install the package:

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package (KDE desktop) :

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${KDE_PREFIX} --sysconfdir=/etc/kde \
    --disable-debug &&
make

Compile the package (Gnome desktop) :

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --disable-debug &&
make

Install the package:

make install &&
unset USE_ARCH

N32

Compile the package (KDE desktop) :

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=${KDE_PREFIX} --sysconfdir=/etc/kde \
    --disable-debug &&
make

Compile the package (Gnome desktop) :

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --disable-debug &&
make

Install the package:

make install &&
unset USE_ARCH

64Bit

Compile the package (KDE desktop) :

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${KDE_PREFIX} --sysconfdir=/etc/kde \
    --disable-debug &&
make

Compile the package (Gnome desktop) :

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --disable-debug &&
make

Install the package:

make install &&
unset USE_ARCH

Contents

Installed Programs: qalculate-kde or qalculate-gtk
Installed Libraries: None
Installed Directories: /usr/share/qalculate-gtk