diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-10-23 23:32:43 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-10-24 12:40:39 +0200 |
commit | 9a3fe78320fdb7e2f1cb1ac9dbf6f9a5201af9b6 (patch) | |
tree | 0134baae6e37f574b8a78cdb49e07bacc4ce26c5 /freetype/ExternalProject_freetype.mk | |
parent | 526c9bdd0408cc0b983c11b35a0aaefda93fad13 (diff) |
freetype: convert to gbuild
Change-Id: I67f550385fa1f4073873f1e503eb153665e718ef
Diffstat (limited to 'freetype/ExternalProject_freetype.mk')
-rw-r--r-- | freetype/ExternalProject_freetype.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/freetype/ExternalProject_freetype.mk b/freetype/ExternalProject_freetype.mk new file mode 100644 index 000000000000..f689e2e42d97 --- /dev/null +++ b/freetype/ExternalProject_freetype.mk @@ -0,0 +1,30 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_ExternalProject_ExternalProject,freetype)) + +$(eval $(call gb_ExternalProject_use_unpacked,freetype,freetype)) + +$(eval $(call gb_ExternalProject_register_targets,freetype,\ + build \ +)) + +$(call gb_ExternalProject_get_state_target,freetype,build) : + cd $(EXTERNAL_WORKDIR) \ + && ./configure \ + --disable-shared \ + --without-zlib \ + --without-bzip2 \ + --prefix=$(OUTDIR) --includedir=$(OUTDIR)/inc/external \ + --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) \ + && chmod +x builds/unix/freetype-config \ + && $(GNUMAKE) \ + && touch $@ + +# vim: set noet sw=4 ts=4: |