Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix get_freetype script so that it properly stages files.

  • Loading branch information...
commit 90d03d36cf220f2c8e4c73b531e5a8c9eb540942 1 parent 2a184ae
Donald Kirker authored
Showing with 10 additions and 6 deletions.
  1. +10 −6 scripts/get_freetype.sh
View
16 scripts/get_freetype.sh
@@ -25,13 +25,17 @@ patch -p1 < ../fix-configure.patch
patch -p1 < ../libtool-tag.patch
patch -p1 < ../files/no-hardcode.patch
-cp -R include/* $CURRENTDIR/staging/armv7/usr/include/
-cp builds/unix/freetype2.pc $CURRENTDIR/staging/armv7/usr/lib/pkgconfig/
PREFIX=${CURRENTDIR}/staging/armv7/usr
-SEDPATHARG=${PREFIX//\//\\\/}
-sed -i -e "s/prefix\=\/usr\/local/prefix=${SEDPATHARG}/g" $CURRENTDIR/staging/armv7/usr/lib/pkgconfig/freetype2.pc
-
-touch .freetype
+cp -R include/* $CURRENTDIR/staging/armv7/usr/include/
+cd builds/unix/
+./configure --libdir=$PREFIX/lib/ --includedir=$PREFIX/include/ --prefix=$PREFIX/local/
+mkdir -p $CURRENTDIR/staging/armv7/usr/lib/pkgconfig/
+cp freetype2.pc $CURRENTDIR/staging/armv7/usr/lib/pkgconfig/
+#SEDPATHARG=${PREFIX//\//\\\/}
+#sed -i -e "s/prefix\=\/usr\/local/prefix=${SEDPATHARG}/g" $CURRENTDIR/staging/armv7/usr/lib/pkgconfig/freetype2.pc
popd
+touch downloads/.freetype
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.