wok view directfb/receipt @ rev 11875
poppler: remove poppler-data (not needed to view PDF document) and save 1,4 Mb on core
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 00:29:35 2012 +0100 (2012-02-28) |
parents | e5b73f3c73d4 |
children | eb8067417980 |
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 $CONFIGURE_ARGS &&
21 make &&
22 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/lib $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib
32 cp -a $_pkg/usr/share/directfb-* $fs/usr/share
33 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
34 }