debian swirl logo

Back to the packages list crossfire

#!/usr/bin/make -f

DEB_BUILD_PARALLEL= yes

DEB_FIXPERMS_EXCLUDE := /usr/games/crossfire /var/log/crossfire \
			/var/games/crossfire \
			/var/games/crossfire/datafiles \
			/var/games/crossfire/players \
			/var/games/crossfire/temp.maps \
			/var/games/crossfire/unique-items

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

# useless notes for upgrading from pre 1.3.0 versions
DEB_INSTALL_DOCS_ALL := -XNEWS

DEB_CONFIGURE_EXTRA_FLAGS := 	--bindir=/usr/games \
					--datadir=/usr/share/games \
					--localstatedir=/var/games \
					--disable-check

binary-install/crossfire-server::
		chown games:games debian/crossfire-server/var/log/crossfire \
			debian/crossfire-server/var/games/crossfire \
			debian/crossfire-server/var/games/crossfire/account \
			debian/crossfire-server/var/games/crossfire/datafiles \
			debian/crossfire-server/var/games/crossfire/players \
			debian/crossfire-server/var/games/crossfire/temp.maps \
			debian/crossfire-server/var/games/crossfire/unique-items

binary-fixup/crossfire-server::
		find debian/crossfire-server/usr/lib/crossfire/ -name "*.la" -exec rm "{}" ";"

Builds:

crossfire-common
architecture independent common files for crossfire server
crossfire-doc
documentation for crossfire
crossfire-server
server for crossfire games