summaryrefslogtreecommitdiffstats
path: root/base/directfb-1.0/Pkgfile
blob: c24af36e0f3b6ae34f5e7ab2d1d91bce1ba9f315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Librairie graphique pour le mode Frame buffer
# URL: http://www.directfb.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libjpeg , libpng, freetype

name=directfb-1.0
version=1.0.1
release=1
source=(http://www.directfb.org/downloads/Core/DirectFB-1.0/DirectFB-$version.tar.gz \
	http://nutyx.meticul.eu/files/patchs/$name/libpng-1.4.patch)

# To build with multicore add --enable-multi

build() {
	export POSIXLY_CORRECT="yes"
	cd  DirectFB-$version
#	patch -Np1 -i  ../libpng-1.4.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--enable-zlib --disable-vnc \
		--infodir=/usr/share/info \
		--enable-x11=no 
	make
	make DESTDIR=$PKG install
}