summaryrefslogtreecommitdiffstats
path: root/base/directfb-1.0/Pkgfile
blob: e8297ea654e225487835fa82b85e2e17e321805b (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
27
28
29
30
# 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
	directfb-1-0-libpng14.patch)

# To build with multicore add --enable-multi

build() {
	unset MAKEFLAGS
	export POSIXLY_CORRECT="yes"
	cd  DirectFB-$version

	patch -Np1 -i  ../directfb-1-0-libpng14.patch

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--enable-zlib --disable-vnc \
		--infodir=/usr/share/info \
		--enable-x11=no 
	make
	make DESTDIR=$PKG install
}