wok-4.x rev 3323
add DirectFB
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Jun 09 18:44:31 2009 +0000 (2009-06-09) |
parents | 21dae9867364 |
children | 0412810d36d9 |
files | DirectFB/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/DirectFB/receipt Tue Jun 09 18:44:31 2009 +0000 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="DirectFB" 1.7 +VERSION="1.3.1" 1.8 +CATEGORY="X11" 1.9 +SHORT_DESC="thin library for Hardware graphic acceleration..etc" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="libSDL libsdl-gfx" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://directfb.org" 1.14 +WGET_URL="$WEB_SITE/downloads/Core/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man \ 1.24 + $CONFIGURE_ARGS && 1.25 + make && make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr $fs/usr/share 1.32 + mkdir -p $fs/usr/lib/directfb-1.3-0/gfxdrivers 1.33 + mkdir -p $fs/usr/lib/directfb-1.3-0/inputdrivers 1.34 + mkdir -p $fs/usr/lib/directfb-1.3-0/systems 1.35 + mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont 1.36 + mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider 1.37 + mkdir -p $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider 1.38 + mkdir -p $fs/usr/lib/directfb-1.3-0/wm 1.39 + cp -a $_pkg/usr/bin $fs/usr 1.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.41 + cp -a $_pkg/usr/lib/directfb-1.3-0/gfxdrivers/*.so* $fs/usr/lib/directfb-1.3-0/gfxdrivers 1.42 + cp -a $_pkg/usr/lib/directfb-1.3-0/inputdrivers/*.so* $fs/usr/lib/directfb-1.3-0/inputdrivers 1.43 + cp -a $_pkg/usr/lib/directfb-1.3-0/systems/*.so* $fs/usr/lib/directfb-1.3-0/systems 1.44 + cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBFont 1.45 + cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBImageProvider 1.46 + cp -a $_pkg/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider/*.so $fs/usr/lib/directfb-1.3-0/interfaces/IDirectFBVideoProvider 1.47 + cp -a $_pkg/usr/lib/directfb-1.3-0/wm/*.so* $fs/usr/lib/directfb-1.3-0/wm 1.48 + cp -a $_pkg/usr/share/directfb-1.3.1 $fs/usr/share 1.49 +} 1.50 +