debian swirl logo

Back to the packages list st

#!/usr/bin/make -f

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

DEB_MAKE_FLAGS  = CC=gcc LD=gcc EXTRA_CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="-shared -Wl,-soname=libst.so.1 -Wl,-z -Wl,noexecstack"
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) $(DEB_MAKE_FLAGS)
DEB_MAKE_BUILD_TARGET = default-optimized CONFIG_GUESS_PATH='/usr/share/misc'
DEB_COMPRESS_EXCLUDE = .c

common-configure-arch::
        test "$(DEB_HOST_ARCH_OS)" = "linux"
install/libst-dev::
		sed "s*@prefix@*/usr*g" debian/st.pc
clean::
		rm -f debian/st.pc

Builds:

libst1
state threads library
libst-dev
state threads library - development files