Makefile revision 1089
372N/A###############################################################################
372N/A#
372N/A# Liberation Fonts Makefile
372N/A#
943N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
372N/A#
372N/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
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
372N/A#
372N/A#
372N/A
493N/A# Package name used in tarballs
493N/AMODULE_NAME=liberation-fonts
372N/A
970N/A# Package metadata
970N/AUPSTREAM = Fedora Fonts SIG
970N/AUPSTREAM_URL = http://fedorahosted.org/liberation-fonts/
970N/AUPSTREAM_SET = yes
970N/A
970N/AMODULE_LICENSE = Liberation Font Software License Agreement
970N/AMODULE_LICENSE_SET = yes
1003N/AMODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE)
970N/A
372N/A# Version number (used in path names)
541N/AMODULE_VERSION=1.04
372N/A
911N/A# Checksums for upstream tarball
911N/ATARBALL_MD5 = 4846797ef0fc70b0cbaede2514677c58
911N/ATARBALL_SHA1 = 097882c92e3260742a3dc3bf033792120d8635a3
911N/A
372N/A# Source tarball
493N/ASOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
493N/ASOURCE_TARBALL_NAME_SET=yes
372N/A
372N/A# Download site for source
460N/ASOURCE_URL=http://fedorahosted.org/releases/l/i/liberation-fonts/$(SOURCE_TARBALL_NAME)
372N/ASOURCE_URL_SET=yes
372N/ASOURCE_UNCOMPRESS=gzcat
372N/A
372N/A# Patches to apply to source after unpacking, in order
372N/ASOURCE_PATCHES= # None
372N/A
372N/A# License file
372N/ALICENSE_FILE=License.txt
372N/ALICENSE_FILE_SET=yes
372N/A
837N/ATTF_FONT_FILES= \
837N/A $(LICENSE_FILE) \
372N/A LiberationMono-Bold.ttf \
372N/A LiberationMono-BoldItalic.ttf \
372N/A LiberationMono-Italic.ttf \
372N/A LiberationMono-Regular.ttf \
372N/A LiberationSans-Bold.ttf \
372N/A LiberationSans-BoldItalic.ttf \
372N/A LiberationSans-Italic.ttf \
372N/A LiberationSans-Regular.ttf \
372N/A LiberationSerif-Bold.ttf \
372N/A LiberationSerif-BoldItalic.ttf \
372N/A LiberationSerif-Italic.ttf \
372N/A LiberationSerif-Regular.ttf
372N/A
837N/A# Directory to install to
837N/ATTF_SUBDIR=liberation
837N/ATTF_SUBDIR_SET=yes
651N/A
837N/A### Include common rulesets
837N/Ainclude ../Makefile.ttf
837N/A
970N/A# Additional license file
970N/Ainstall_license: $(MODULE_PKG_METADATA_DIR)/license_GPL
970N/A
970N/A$(MODULE_PKG_METADATA_DIR)/license_GPL: $(SOURCE_DATA_DIR)/COPYING
970N/A rm -f $@
970N/A cp -pf $(SOURCE_DATA_DIR)/COPYING $@
970N/A print 'license license_GPL license="GPLv2"' > $(LICENSE_ATTR_FILE)