summaryrefslogtreecommitdiffstats
path: root/base/freetype/Pkgfile
blob: cb1dbc9cb5d9671073cb36b9102fe8b4295b3b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Moteur libre et portable permettant aux applications le rendu des polices TrueType
# URL: http://www.freetype.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=freetype
version=2.4.4
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
}