wok-4.x view DirectFB/receipt @ rev 3323
add DirectFB
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Jun 09 18:44:31 2009 +0000 (2009-06-09) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="DirectFB"
4 VERSION="1.3.1"
5 CATEGORY="X11"
6 SHORT_DESC="thin library for Hardware graphic acceleration..etc"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="libSDL libsdl-gfx"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://directfb.org"
11 WGET_URL="$WEB_SITE/downloads/Core/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/usr/share
29 mkdir -p $fs/usr/lib/directfb-1.3-0/gfxdrivers
30 mkdir -p $fs/usr/lib/directfb-1.3-0/inputdrivers
31 mkdir -p $fs/usr/lib/directfb-1.3-0/systems
32 mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont
33 mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider
34 mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider
35 mkdir -p $fs/usr/lib/directfb-1.3-0/wm
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/directfb-1.3-0/gfxdrivers/*.so* $fs/usr/lib/directfb-1.3-0/gfxdrivers
39 cp -a $_pkg/usr/lib/directfb-1.3-0/inputdrivers/*.so* $fs/usr/lib/directfb-1.3-0/inputdrivers
40 cp -a $_pkg/usr/lib/directfb-1.3-0/systems/*.so* $fs/usr/lib/directfb-1.3-0/systems
41 cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont
42 cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider
43 cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider
44 cp -a $_pkg/usr/lib/directfb-1.3-0/wm/*.so* $fs/usr/lib/directfb-1.3-0/wm
45 cp -a $_pkg/usr/share/directfb-1.3.1 $fs/usr/share
46 }