Makefile revision 970
98N/A###############################################################################
98N/A#
1379N/A# Liberation Fonts Makefile
98N/A#
98N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A# DEALINGS IN THE SOFTWARE.
98N/A#
493N/A#
493N/A
98N/A# Package name used in tarballs
970N/AMODULE_NAME=liberation-fonts
970N/A
970N/A# Package metadata
970N/AUPSTREAM = Fedora Fonts SIG
970N/AUPSTREAM_URL = http://fedorahosted.org/liberation-fonts/
970N/AUPSTREAM_SET = yes
970N/A
1003N/AMODULE_LICENSE = Liberation Font Software License Agreement
1339N/AMODULE_LICENSE_SET = yes
1339N/A
970N/A# Version number (used in path names)
970N/AMODULE_VERSION=1.04
970N/A
970N/A# Checksums for upstream tarball
1366N/ATARBALL_MD5 = 4846797ef0fc70b0cbaede2514677c58
1366N/ATARBALL_SHA1 = 097882c92e3260742a3dc3bf033792120d8635a3
970N/A
98N/A# Source tarball
1366N/ASOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
98N/ASOURCE_TARBALL_NAME_SET=yes
911N/A
1366N/A# Download site for source
1366N/ASOURCE_URL=http://fedorahosted.org/releases/l/i/liberation-fonts/$(SOURCE_TARBALL_NAME)
911N/ASOURCE_URL_SET=yes
98N/ASOURCE_UNCOMPRESS=gzcat
493N/A
493N/A# Patches to apply to source after unpacking, in order
98N/ASOURCE_PATCHES= # None
98N/A
1089N/A# License file
156N/ALICENSE_FILE=License.txt
493N/ALICENSE_FILE_SET=yes
493N/A
493N/ATTF_FONT_FILES= \
493N/A $(LICENSE_FILE) \
493N/A LiberationMono-Bold.ttf \
493N/A LiberationMono-BoldItalic.ttf \
493N/A LiberationMono-Italic.ttf \
98N/A LiberationMono-Regular.ttf \
98N/A LiberationSans-Bold.ttf \
98N/A LiberationSans-BoldItalic.ttf \
1345N/A LiberationSans-Italic.ttf \
1089N/A LiberationSans-Regular.ttf \
1351N/A LiberationSerif-Bold.ttf \
1366N/A LiberationSerif-BoldItalic.ttf \
606N/A LiberationSerif-Italic.ttf \
606N/A LiberationSerif-Regular.ttf
606N/A
606N/A# Directory to install to
705N/ATTF_SUBDIR=liberation
967N/ATTF_SUBDIR_SET=yes
606N/A
606N/A### Include common rulesets
1351N/Ainclude ../Makefile.ttf
606N/A
606N/A# Additional license file
606N/Ainstall_license: $(MODULE_PKG_METADATA_DIR)/license_GPL
1089N/A
1262N/A$(MODULE_PKG_METADATA_DIR)/license_GPL: $(SOURCE_DATA_DIR)/COPYING
1265N/A rm -f $@
1265N/A cp -pf $(SOURCE_DATA_DIR)/COPYING $@
606N/A print 'license license_GPL license="GPLv2"' > $(LICENSE_ATTR_FILE)
1109N/A