summaryrefslogtreecommitdiffstats
path: root/base/directfb-1.0/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/directfb-1.0/Pkgfile')
-rw-r--r--base/directfb-1.0/Pkgfile20
1 files changed, 12 insertions, 8 deletions
diff --git a/base/directfb-1.0/Pkgfile b/base/directfb-1.0/Pkgfile
index 3ffc06c01..e8297ea65 100644
--- a/base/directfb-1.0/Pkgfile
+++ b/base/directfb-1.0/Pkgfile
@@ -5,22 +5,26 @@
# Depends on: libjpeg , libpng, freetype
name=directfb-1.0
-version=1.4.11
+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)
-source=(http://www.directfb.org/downloads/Core/DirectFB-${version%.*}/DirectFB-$version.tar.gz)
+# 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 \
- --enable-static \
--mandir=/usr/share/man \
- --enable-zlib \
- --enable-sdl \
- --disable-vnc \
- --disable-osx \
+ --enable-zlib --disable-vnc \
--infodir=/usr/share/info \
- --enable-x11
+ --enable-x11=no
make
make DESTDIR=$PKG install
}
+