wok-current diff directfb/receipt @ rev 15579
Remove cromfs-or-squashfs; add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 10:06:29 2013 +0000 (2013-11-30) |
parents | b7319995b37e |
children | 812b1350f249 |
line diff
1.1 --- a/directfb/receipt Mon Jan 02 23:06:18 2012 +0100 1.2 +++ b/directfb/receipt Sat Nov 30 10:06:29 2013 +0000 1.3 @@ -5,13 +5,15 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Thin library that provides hardware graphics acceleration." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="libpng tslib" 1.8 -BUILD_DEPENDS="libpng-dev tslib-dev" 1.9 +LICENSE="LGPL2.1" 1.10 SOURCE="DirectFB" 1.11 TARBALL="$SOURCE-$VERSION.tar.gz" 1.12 WEB_SITE="http://www.directfb.org/" 1.13 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL" 1.14 1.15 +DEPENDS="libpng tslib" 1.16 +BUILD_DEPENDS="libpng-dev tslib-dev" 1.17 + 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 @@ -19,16 +21,16 @@ 1.22 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none \ 1.23 $CONFIGURE_ARGS && 1.24 make && 1.25 - make DESTDIR=$PWD/_pkg install 1.26 + make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/usr/lib $fs/usr/share 1.33 - cp -a $_pkg/usr/bin $fs/usr 1.34 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.35 - cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib 1.36 - cp -a $_pkg/usr/share/directfb-* $fs/usr/share 1.37 + cp -a $install/usr/bin $fs/usr 1.38 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 + cp -a $install/usr/lib/directfb-1.4-0 $fs/usr/lib 1.40 + cp -a $install/usr/share/directfb-* $fs/usr/share 1.41 find $fs/usr/lib -name "*.*a" -exec rm '{}' \; 1.42 }