wok-next view directfb/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="directfb"
4 VERSION="1.8.0"
5 COMMIT="e97c8d4" # no releases here; latest commit (2014-01-30) hash
6 CATEGORY="system-tools"
7 SHORT_DESC="Thin library that provides hardware graphics acceleration"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://github.com/DirectFB"
12 TARBALL="$PACKAGE-$COMMIT.tar.gz"
13 WGET_URL="https://github.com/DirectFB/directfb/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="libtool automake gfortran libpng-dev libjpeg-turbo-dev \
16 freetype-dev tslib-dev perl fluxcomp xorgproto libxext-dev libvdpau-dev"
18 BUILD_DEPENDS="libtool automake gfortran libpng-dev libjpeg-turbo-dev \
19 freetype-dev fluxcomp mesa-dev libxshmfence-dev expat-dev \
20 libxcomposite-dev"
21 SPLIT="$PACKAGE-dev"
23 compile_rules() {
24 ./autogen.sh \
25 --disable-osx \
26 --with-dither-rgb16=none \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make -j1 &&
30 make -j1 DESTDIR=$install install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 directfb)
36 copy @std
37 DEPENDS="freetype libjpeg-turbo libpng tslib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="directfb zlib-dev"
42 ;;
43 esac
44 }