wok-current annotate directfb/receipt @ rev 13638
Up: embryo (1.7.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 16 00:04:15 2012 +0100 (2012-11-16) |
parents | e5b73f3c73d4 |
children | eb8067417980 |
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 |
gokhlayeh@11573 | 19 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none \ |
gokhlayeh@11573 | 20 $CONFIGURE_ARGS && |
pascal@11220 | 21 make && |
pascal@11220 | 22 make DESTDIR=$PWD/_pkg install |
pascal@11220 | 23 } |
pascal@11220 | 24 |
pascal@11220 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 26 genpkg_rules() |
pascal@11220 | 27 { |
pascal@11220 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11220 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@11220 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11220 | 31 cp -a $_pkg/usr/lib/directfb-1.4-0 $fs/usr/lib |
pascal@11220 | 32 cp -a $_pkg/usr/share/directfb-* $fs/usr/share |
pascal@11220 | 33 find $fs/usr/lib -name "*.*a" -exec rm '{}' \; |
pascal@11220 | 34 } |