debian swirl logo

Back to the packages list libmemcache

#!/usr/bin/make -f
# rules -- Debian packaging rules for libmemcache

# Let's use CDBS! :)

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

# Use touch-fu before build to avoid remaking the autotools.  Wrap this in
# `test' so we don't call `configure' again upon `binary'.
configure/libmemcache0::
		test -f debian/stamp-configure-libmemcache0 || \
			(touch config.h.in && touch stamp-h1 && touch config.h && \
			touch debian/stamp-configure-libmemcache0 )

clean::
		rm -f debian/stamp-configure-libmemcache0

# Enforce tight versioning for dh_makeshlibdeps on libmemcache0
DEB_NOREVISION_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | \
   cut -f 2 -d ' ' | cut -f 1 -d '-')
DEB_DH_MAKESHLIBS_ARGS_libmemcache0 := -V"libmemcache0 \
   (>= $(DEB_NOREVISION_VERSION))"

Builds:

libmemcache0
c client api for memcached memory object caching system
libmemcache-dev
development headers for libmemcache c client api