diff options
Diffstat (limited to 'extra/sdl_ttf/Pkgfile')
-rw-r--r-- | extra/sdl_ttf/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/sdl_ttf/Pkgfile b/extra/sdl_ttf/Pkgfile new file mode 100644 index 000000000..d0ec5311c --- /dev/null +++ b/extra/sdl_ttf/Pkgfile @@ -0,0 +1,24 @@ +# Description: Bibliothèque TrueType pour libsdl. +# URL: http://www.libsdl.org/projects/SDL_ttf/ +# Maintainer: Danny Rawlins <monster dot romster at gmail dot com> +# Packager: Simone Rota <sip at crux dot nu> +# Depends on: freetype libsdl + +name=sdl_ttf +version=2.0.8 +release=1 +source=( http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$version.tar.gz \ +sdl_ttf-noftinternals.patch ) + +build() { + cd SDL_ttf-$version + + # Application de patchs + patch -i $SRC/sdl_ttf-noftinternals.patch + + # compilation + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + |