File: rules

package info (click to toggle)
libast 0.7-9
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 2,732 kB
  • sloc: ansic: 13,136; sh: 10,332; makefile: 78
file content (17 lines) | stat: -rwxr-xr-x 593 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/autoreconf.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

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