wok view directfb/receipt @ rev 15824
Up: btrfs-progs to 3.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 10:09:14 2014 +0000 (2014-01-24) |
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 }