aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/fontconfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/depends/packages/fontconfig.mk')
-rw-r--r--contrib/depends/packages/fontconfig.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/depends/packages/fontconfig.mk b/contrib/depends/packages/fontconfig.mk
new file mode 100644
index 000000000..fb97e0b9e
--- /dev/null
+++ b/contrib/depends/packages/fontconfig.mk
@@ -0,0 +1,22 @@
+package=fontconfig
+$(package)_version=2.12.1
+$(package)_download_path=http://www.freedesktop.org/software/fontconfig/release/
+$(package)_file_name=$(package)-$($(package)_version).tar.bz2
+$(package)_sha256_hash=b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3
+$(package)_dependencies=freetype expat
+
+define $(package)_set_vars
+ $(package)_config_opts=--disable-docs --disable-static
+endef
+
+define $(package)_config_cmds
+ $($(package)_autoconf)
+endef
+
+define $(package)_build_cmds
+ $(MAKE)
+endef
+
+define $(package)_stage_cmds
+ $(MAKE) DESTDIR=$($(package)_staging_dir) install
+endef