mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 08:48:00 +08:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=directfb
|
|
pkgver=1.4.14
|
|
pkgrel=2
|
|
pkgdesc="A thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system on top of the Linux Framebuffer Device"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.directfb.org"
|
|
license=('LGPL')
|
|
depends=('gcc-libs' 'libjpeg-turbo' 'sdl' 'sysfsutils' 'libpng' 'freetype2')
|
|
options=('!libtool')
|
|
source=(http://www.directfb.org/downloads/Core/DirectFB-${pkgver%.*}/DirectFB-${pkgver}.tar.gz)
|
|
md5sums=('de0745d25a6ac9e337d4d5572df85471')
|
|
|
|
build() {
|
|
cd "${srcdir}/DirectFB-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-debug \
|
|
--enable-zlib --enable-x11 --enable-sdl --disable-vnc --disable-osx \
|
|
--enable-video4linux2 --enable-voodoo
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/DirectFB-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|