summaryrefslogtreecommitdiffstats
path: root/directfb/Pkgfile
blob: 4ad884c4f7a87180edb525c679b05e02bc53a0f0 (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
# 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, xorg-libx11, mesa3d
# Run on: libjpeg,libpng,freetype,xorg-libx11,mesa3d

name=directfb
version=1.5.3
release=1
source=(http://www.directfb.org/downloads/Core/DirectFB-${version%.*}/DirectFB-$version.tar.gz
	libpng-1.5.patch)

# To build with multicore add --enable-multi
build() {
	cd  DirectFB-$version
	patch -Np1 -i  ../libpng-1.5.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--enable-zlib --disable-vnc \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
}