graphite2: fix recipe...

This commit is contained in:
Adrien Destugues
2014-10-06 18:30:06 +02:00
parent 8f97c2f274
commit 281885bd76

View File

@@ -10,6 +10,7 @@ LICENSE="GNU LGPL v2.1"
#SRC_URI="http://sourceforge.net/projects/silgraphite/files/graphite2/graphite2-$portVersion.tar.gz"
SRC_URI="http://dev-www.libreoffice.org/src/graphite2-$portVersion.tgz"
CHECKSUM_SHA256="4bc3d5168029bcc0aa00eb2c973269d29407be2796ff56f9c80e10736bd8b003"
PATCHES="graphite2-$portVersion.patchset"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
@@ -41,7 +42,7 @@ BUILD_PREREQUIRES="
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix .
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DLIB_SUFFIX=$secondaryArchSubDir .
make $jobArgs
}
@@ -49,10 +50,6 @@ INSTALL()
{
make install
mkdir -p $(dirname $includeDir)
mv $prefix/include $includeDir
rm -rf $prefix/share
prepareInstalledDevelLibs libgraphite2
fixPkgconfig