liberation_fonts: Update recipe (broken)

* This builds the fonts from source, and relies on fontforge for that
  (which is currently marked as broken)
* Either way, update the recipe the the latest version of the source
  as well as the new format
TODO: Add fontforge dependency, properly.
This commit is contained in:
Chirayu Desai
2015-01-08 05:13:58 +00:00
parent 049785062c
commit 37160a2e3b
2 changed files with 37 additions and 27 deletions

View File

@@ -1,27 +0,0 @@
DESCRIPTION="
The Liberation(tm) Fonts is a font family which aims at metric compatibility \
with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat.
"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="http://ports-space.haiku-files.org/media-fonts/source/liberation-fonts-1.06.0.20100721.tar.gz"
REVISION="2"
STATUS_HAIKU="broken"
DEPEND="fontforge"
CHECKSUM_MD5="2f45bd873ab48cf0c3a00fbd350c0e80"
BUILD()
{
cd liberation-fonts-1.06.0.20100721
make
}
INSTALL()
{
cd liberation-fonts-1.06.0.20100721
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}/.
}
LICENSE="GNU GPL v2
Liberation Exceptions"
COPYRIGHT="2007-2010 Red Hat, Inc."

View File

@@ -0,0 +1,37 @@
SUMMARY="The Liberation Fonts"
DESCRIPTION="
The Liberation(tm) Fonts is a font family which aims at metric compatibility \
with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat.
"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-2.00.1.tar.gz"
CHECKSUM_SHA256="7acbc612c3665292d2d94fd38fe7cd88d826281d31f8c209af92702bdaf6b9fa"
REVISION="3"
LICENSE="GNU GPL v2
Liberation Exceptions"
COPYRIGHT="2007-2010 Red Hat, Inc."
ARCHITECTURES="any"
PROVIDES="liberation_fonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
cmd:make
coreutils
"
SOURCE_DIR="liberation-fonts-2.00.1"
BUILD()
{
make $jobArgs
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}
}