debian swirl logo

Back to the packages list libast

#!/usr/bin/make -f

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

DEB_DESTDIR = $(CURDIR)/debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx=no
DEB_CONFIGURE_EXTRA_FLAGS += --with-regexp=posix
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_DH_MAKESHLIBS_ARGS_libast2 = --version-info="libast2 (>= 0.7)"
DEB_SHLIBDEPS_LIBRARY_package = libast2

makebuilddir::
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
		cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
		cp -f /usr/share/misc/config.guess config.guess
endif

clean::
		rm -f config.sub
		rm -f config.guess

$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
		for file in $(wildcard debian/$(cdbs_curpkg)/usr/lib/*/*.so*); do \
			chrpath -d $$file ; \
		done

Builds:

libast2-dev
libast2 development files
libast2
library of assorted spiffy things