debian swirl logo

Back to the packages list xplc

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

CFLAGS = -g -O2 -fno-strict-aliasing
CXXFLAGS = -g -O2 -fno-strict-aliasing

# Specify the 'make check' target
DEB_MAKE_CHECK_TARGET := tests

# Determine the version of XPLC automatically
PKG_VERSION := $(shell awk -F, '/AC_INIT/{print $$2}' configure.ac \
			 | sed 's/[ 	]//g')

# Don't install the CVS/ and .cvsignore from the examples
DEB_INSTALL_EXAMPLES_libxplc$(PKG_VERSION)-dev := -XCVS -X.cvsignore

# Make sure the install files are in the right place
build/libxplc$(PKG_VERSION)::
		cp -f debian/libxplc.install debian/libxplc$(PKG_VERSION).install
cleanbuilddir/libxplc$(PKG_VERSION)::
		rm -f debian/libxplc$(PKG_VERSION).install
build/libxplc$(PKG_VERSION)-dev::
		cp -f debian/libxplc-dev.install debian/libxplc$(PKG_VERSION)-dev.install
		cp -f debian/libxplc-dev.examples debian/libxplc$(PKG_VERSION)-dev.examples
cleanbuilddir/libxplc$(PKG_VERSION)-dev::
		rm -f debian/libxplc$(PKG_VERSION)-dev.install
		rm -f debian/libxplc$(PKG_VERSION)-dev.examples

# Fix ldconfig-symlink-missing-for-shlib
binary-predeb/libxplc$(PKG_VERSION)::
		/sbin/ldconfig -v -n debian/libxplc$(PKG_VERSION)/usr/lib

# Turn symlinks into the real binary
install/uuidcdef::
		ln -f debian/tmp/usr/bin/uuidgen debian/tmp/usr/bin/uuidcdef
		ln -f debian/tmp/usr/share/man/man1/uuidgen.1 debian/tmp/usr/share/man/man1/uuidcdef

Builds:

libxplc0.3.13-dev
light weight component system (development libraries and headers)
libxplc0.3.13
light weight component system
uuidcdef
universally unique identifier (uuid) generator