# FreeType 2.1.7, for Mozilla
Package-Name: freetype
Homepage: http://www.freetype.org/
Source: sourceforge:///freetype/freetype-(2.1.7).tar.gz $1
Zap-Before-Install: 1
Repack:
	tar xzvfp "$(SOURCE)"
	mv freetype* freetype217-2.1.7
Compile:
	CC="gcc -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" $(MAKE) -f ../Makefile configure CUSTOM_OPT="-fno-strict-aliasing" CONFIGURE_OPTS="--disable-shared --enable-static"
	$(MAKE)
# Avoid confusion with multiple include file paths
	rm -f "$(PREFIX)"/include/ft2build.h "$(PREFIX)"/include/freetype2/ft2build.h
	$(MAKE) install
	if test -f "$(PREFIX)"/include/ft2build.h -a ! -f "$(PREFIX)"/include/freetype2/ft2build.h ; then \
		ln -fs ../ft2build.h "$(PREFIX)"/include/freetype2/ ; \
	fi
Install:
	# DON'T install anything--it would overwrite current FreeType!

/pkg/freetype217/
