contrib/sdl_ttf/Pkgfile

26 lines
559 B
Plaintext
Raw Normal View History

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