wok-next view directfb/receipt @ rev 15629

xine-plugin: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 08:26:16 2013 +0000 (2013-12-09)
parents eb8067417980
children fd812ac90452
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 LICENSE="LGPL2.1"
9 SOURCE="DirectFB"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.directfb.org/"
12 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL"
14 DEPENDS="libpng tslib"
15 BUILD_DEPENDS="libpng-dev tslib-dev perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/directfb-1.4-0 $fs/usr/lib
34 cp -a $install/usr/share/directfb-* $fs/usr/share
35 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
36 }