From 97d83c45faf42ada9993239c3835641d8bbd070f Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sat, 20 Oct 2012 10:05:45 -0700 Subject: gbuildification of ct2n Conflicts: config_host.mk.in Change-Id: I98ca1bb2af19d99a7a908991cf27a148ee84c543 --- ct2n/UnpackedTarball_ct2n.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ct2n/UnpackedTarball_ct2n.mk (limited to 'ct2n/UnpackedTarball_ct2n.mk') diff --git a/ct2n/UnpackedTarball_ct2n.mk b/ct2n/UnpackedTarball_ct2n.mk new file mode 100644 index 000000000000..7239d8ac969a --- /dev/null +++ b/ct2n/UnpackedTarball_ct2n.mk @@ -0,0 +1,33 @@ +# -*- 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_UnpackedTarball_UnpackedTarball,ConvertTextToNumber)) + +$(eval $(call gb_UnpackedTarball_set_tarball,ConvertTextToNumber,$(CT2N_TARBALL),0)) + +# Extension class requires description-en-US.txt file +$(eval $(call gb_UnpackedTarball_add_file,ConvertTextToNumber,\ + description-en-US.txt,ct2n/description-en-US.txt)) + +$(eval $(call gb_UnpackedTarball_add_patches,ConvertTextToNumber,\ + ct2n/ConvertTextToNumber-1.3.2-no-license.patch \ + ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch \ +)) + +# adjustments for using Extension class +# 1. manifest.xml is expected in root directory +# 2. LICENSE file is required, reuse existing COPYING +$(eval $(call gb_UnpackedTarball_set_post_action,ConvertTextToNumber,\ + mv $(call gb_UnpackedTarball_get_dir,ConvertTextToNumber)/META-INF/manifest.xml \ + $(call gb_UnpackedTarball_get_dir,ConvertTextToNumber) && \ + mv $(call gb_UnpackedTarball_get_dir,ConvertTextToNumber)/registration/COPYING \ + $(call gb_UnpackedTarball_get_dir,ConvertTextToNumber)/registration/LICENSE \ +)) + +# vim: set noet sw=4 ts=4: -- cgit