diff options
Diffstat (limited to 'extra/freetype/Pkgfile')
-rwxr-xr-x | extra/freetype/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/freetype/Pkgfile b/extra/freetype/Pkgfile new file mode 100755 index 000000000..4d8dcdd57 --- /dev/null +++ b/extra/freetype/Pkgfile @@ -0,0 +1,24 @@ +# Description: A free and portable TrueType font rendering engine +# URL: http://www.freetype.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: glibc + +name=freetype +version=2.3.9 +release=1 +source=( http://switch.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2) + + +build() { + cd $name-$version + sed -i -r -e 's:.*(#.*BYTE.*) .*:\1:' \ + -e 's:.*(#.*SUBPIX.*) .*:\1:' \ + include/freetype/config/ftoption.h + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-zlib + make + make DESTDIR=$PKG install +} |