summaryrefslogtreecommitdiff
path: root/liborcus/Package_liborcus.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-09-11 16:59:27 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-11 17:00:14 +0200
commite7d85cc078bd1d2757709789014233f4e9c1a23d (patch)
tree119d81c5669183118c110f2f9abd6fab321b77be /liborcus/Package_liborcus.mk
parente9e996ed233e4ce1bd043b4e80dec2660005006e (diff)
orcus: use Package to deliver libraries
Manually copied files aren't cleaned Change-Id: I35b08ed6f10b9405d569c06c624d0702f1f6e5fa
Diffstat (limited to 'liborcus/Package_liborcus.mk')
-rw-r--r--liborcus/Package_liborcus.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/liborcus/Package_liborcus.mk b/liborcus/Package_liborcus.mk
new file mode 100644
index 000000000000..57e5ea9b8d7b
--- /dev/null
+++ b/liborcus/Package_liborcus.mk
@@ -0,0 +1,20 @@
+# -*- 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_Package_Package,liborcus,$(call gb_UnpackedTarball_get_dir,orcus)))
+
+$(eval $(call gb_Package_use_external_project,liborcus,liborcus))
+
+ifeq ($(OS)$(COM),WNTMSC)
+$(eval $(call gb_Package_add_file,liborcus,lib/orcus.lib,vsprojects/liborcus-static-nozip/Release/orcus.lib))
+else
+$(eval $(call gb_Package_add_file,liborcus,lib/liborcus.a,src/liborcus/.libs/liborcus-0.2.a))
+endif
+
+# vim: set noet sw=4 ts=4: