wok annotate 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 |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="directfb" |
pascal@11220 | 4 VERSION="1.4.3" |
pascal@11220 | 5 CATEGORY="system-tools" |
pascal@11220 | 6 SHORT_DESC="Thin library that provides hardware graphics acceleration." |
pascal@11220 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11220 | 8 DEPENDS="libpng tslib" |
pascal@11220 | 9 BUILD_DEPENDS="libpng-dev tslib-dev" |
pascal@11220 | 10 SOURCE="DirectFB" |
pascal@11220 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11220 | 12 WEB_SITE="http://www.directfb.org/" |
pascal@11220 | 13 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL" |
pascal@11220 | 14 |
pascal@11220 | 15 # Rules to configure and make the package. |
pascal@11220 | 16 compile_rules() |
pascal@11220 | 17 { |
pascal@11220 | 18 cd $src |
pascal@11220 | 19 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none && |
pascal@11220 | 20 make && |
pascal@11220 | 21 make DESTDIR=$PWD/_pkg install |
pascal@11220 | 22 } |
pascal@11220 | 23 |
pascal@11220 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 25 genpkg_rules() |
pascal@11220 | 26 { |
pascal@11220 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11220 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@11220 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11220 | 30 cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib |
pascal@11220 | 31 cp -a $_pkg/usr/share/directfb-* $fs/usr/share |
pascal@11220 | 32 find $fs/usr/lib -name "*.*a" -exec rm '{}' \; |
pascal@11220 | 33 } |