wok diff directfb/receipt @ rev 11220
Add from wok-undigest: dansguardian dietlibc dietlibc-dev directfb directfb-dev distccmon-gui dovecot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 23:07:20 2011 +0100 (2011-11-03) |
parents | |
children | b7319995b37e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/directfb/receipt Thu Nov 03 23:07:20 2011 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="directfb" 1.7 +VERSION="1.4.3" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Thin library that provides hardware graphics acceleration." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="libpng tslib" 1.12 +BUILD_DEPENDS="libpng-dev tslib-dev" 1.13 +SOURCE="DirectFB" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://www.directfb.org/" 1.16 +WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none && 1.23 + make && 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib $fs/usr/share 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 + cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib 1.34 + cp -a $_pkg/usr/share/directfb-* $fs/usr/share 1.35 + find $fs/usr/lib -name "*.*a" -exec rm '{}' \; 1.36 +}