2016-02-24 01:27:23 +01:00
|
|
|
# Description: Graphite2 is a rendering engine for graphite fonts
|
|
|
|
# URL: http://projects.palaso.org/projects/graphitedev
|
2016-07-23 18:52:40 +02:00
|
|
|
# Packager: alihan-ozturk8@hotmail.com
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: cmake freetype python harfbuzz
|
|
|
|
|
|
|
|
name=graphite2
|
2016-07-23 18:52:40 +02:00
|
|
|
version=1.3.8
|
2016-02-24 01:27:23 +01:00
|
|
|
release=1
|
|
|
|
|
|
|
|
source=( http://downloads.sourceforge.net/silgraphite/graphite2-$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd graphite2-$version
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake -G "Unix Makefiles" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-Wno-dev ..
|
|
|
|
make
|
|
|
|
make docs
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
install -d -m755 $PKG/usr/share/doc/$name-$version
|
|
|
|
# cp -r -f doc/doxygen/{html,latex/refman.pdf} \
|
|
|
|
# $PKG/usr/share/doc/$name-$version
|
|
|
|
cp -r -f ../doc/* \
|
|
|
|
$PKG/usr/share/doc/$name-$version
|
|
|
|
}
|