wok-4.x view directfb/receipt @ rev 11377
nfs-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 09 12:31:03 2011 +0100 (2011-12-09) |
parents | |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="directfb"
4 VERSION="1.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Thin library that provides hardware graphics acceleration."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libpng tslib"
9 BUILD_DEPENDS="libpng-dev tslib-dev"
10 SOURCE="DirectFB"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.directfb.org/"
13 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib
31 cp -a $_pkg/usr/share/directfb-* $fs/usr/share
32 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
33 }