blob: 47367dbf7627e40bec137752dfd516dbb1af027f (
plain)
1 # Description: TrueType library for libsdl.
2 # URL: https://www.libsdl.org/projects/SDL_ttf/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: freetype libsdl
5
6 name=sdl_ttf
7 version=2.0.11
8 release=2
9 source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$version.tar.gz
10 freetype-pkgconfig.patch
11 bug1433.patch)
12
13 build() {
14 cd SDL_ttf-$version
15
16 patch -i $SRC/bug1433.patch
17 patch -p1 -i $SRC/freetype-pkgconfig.patch
18
19 touch NEWS README AUTHORS ChangeLog
20 autoreconf -vi
21
22 ./configure --prefix=/usr
23 make
24 make DESTDIR=$PKG install
25 }
|