wok-undigest view directfb/receipt @ rev 152
Move cpufrequtils to wok
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Sun Jun 27 02:51:04 2010 +0200 (2010-06-27) |
parents | |
children | f1a53217db0a |
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"
9 BUILD_DEPENDS="libpng-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 &&
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 }