2012-11-21 11:12:43 -06:00
|
|
|
# Description: A free and portable TrueType font rendering engine
|
2017-03-02 22:19:04 +11:00
|
|
|
# URL: https://www.freetype.org/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2017-11-01 22:41:39 +11:00
|
|
|
# Depends on: freetype libpng-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=freetype-32
|
2020-10-22 20:33:31 +11:00
|
|
|
version=2.10.4
|
2019-03-18 23:03:29 +11:00
|
|
|
release=1
|
2019-07-15 21:38:05 +10:00
|
|
|
source=(https://download.savannah.gnu.org/releases/${name%-*}/${name%-*}-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2017-03-02 22:19:04 +11:00
|
|
|
cd ${name%-*}-$version
|
2014-09-05 12:58:07 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2012-11-21 11:12:43 -06:00
|
|
|
--libdir=/usr/lib32 \
|
2019-03-15 00:35:53 +11:00
|
|
|
--with-zlib \
|
|
|
|
--with-harfbuzz=no
|
2014-09-05 12:58:07 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2016-03-08 20:41:33 +11:00
|
|
|
rm -r $PKG/usr/{include,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|