1
0
forked from ports/contrib

26 lines
559 B
Plaintext
Raw Normal View History

2008-02-11 21:46:53 +11:00
# Description: TrueType library for libsdl.
2019-04-13 18:32:05 +10:00
# URL: https://www.libsdl.org/projects/SDL_ttf/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2008-02-11 21:46:53 +11:00
# Depends on: freetype libsdl
name=sdl_ttf
2012-04-06 17:50:47 +10:00
version=2.0.11
2019-04-13 18:32:05 +10:00
release=2
source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$version.tar.gz
freetype-pkgconfig.patch
bug1433.patch)
2008-02-11 21:46:53 +11:00
build() {
cd SDL_ttf-$version
2011-01-24 19:19:27 +11:00
2019-04-13 18:32:05 +10:00
patch -i $SRC/bug1433.patch
patch -p1 -i $SRC/freetype-pkgconfig.patch
2011-01-24 19:19:27 +11:00
2019-04-13 18:32:05 +10:00
touch NEWS README AUTHORS ChangeLog
autoreconf -vi
./configure --prefix=/usr
2008-02-11 21:46:53 +11:00
make
make DESTDIR=$PKG install
}