wok annotate directfb/receipt @ rev 15600

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 15:25:09 2013 +0000 (2013-12-05)
parents eb8067417980
children fd812ac90452
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@15579 8 LICENSE="LGPL2.1"
pascal@11220 9 SOURCE="DirectFB"
pascal@11220 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11220 11 WEB_SITE="http://www.directfb.org/"
pascal@11220 12 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-1.4/$TARBALL"
pascal@11220 13
pascal@15579 14 DEPENDS="libpng tslib"
pascal@15580 15 BUILD_DEPENDS="libpng-dev tslib-dev perl"
pascal@15579 16
pascal@11220 17 # Rules to configure and make the package.
pascal@11220 18 compile_rules()
pascal@11220 19 {
pascal@11220 20 cd $src
gokhlayeh@11573 21 ./configure --prefix=/usr --sysconfdir=/etc --with-dither-rgb16=none \
gokhlayeh@11573 22 $CONFIGURE_ARGS &&
pascal@11220 23 make &&
pascal@15579 24 make DESTDIR=$DESTDIR install
pascal@11220 25 }
pascal@11220 26
pascal@11220 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11220 28 genpkg_rules()
pascal@11220 29 {
pascal@11220 30 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15579 31 cp -a $install/usr/bin $fs/usr
pascal@15579 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15579 33 cp -a $install/usr/lib/directfb-1.4-0 $fs/usr/lib
pascal@15579 34 cp -a $install/usr/share/directfb-* $fs/usr/share
pascal@11220 35 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
pascal@11220 36 }