LibUnique

From CBLFS
Jump to navigationJump to search
Download Source: http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-1.1.6.tar.bz2

Introduction to LibUnique

Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.

Project Homepage: http://live.gnome.org/LibUnique

Dependencies

Required

Gtk2

Optional

Non-Multilib

Compile the package:

./configure --prefix=${GNOME_PREFIX} \
    --libexecdir=${GNOME_PREFIX}/lib/libunique &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=${GNOME_PREFIX} \
    --libexecdir=${GNOME_PREFIX}/lib/libunique &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=${GNOME_PREFIX} --libdir=${GNOME_PREFIX}/lib32 \
    --libexecdir=${GNOME_PREFIX}/lib32/libunique &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=${GNOME_PREFIX} --libdir=${GNOME_PREFIX}/lib64 \
    --libexecdir=${GNOME_PREFIX}/lib64/libunique &&
make

Install the package

make install