wok-6.x view lite/receipt @ rev 16268
ARM: add libsexy libsndfile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 20:04:34 2014 +0200 (2014-04-05) |
parents | |
children | 17e313b5b9c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lite"
4 VERSION="0.8.10"
5 CATEGORY="graphics"
6 SHORT_DESC="LiTE is a Toolkit Engine using DirectFB"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="LiTE"
10 TARBALL="${SOURCE}-${VERSION}.tar.gz"
11 WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE"
12 WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="directfb"
16 BUILD_DEPENDS="directfb-dev"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm)
21 export LDFLAGS="-L/cross/arm/sysroot/usr/lib"
22 export CPPFLAGS="-I/cross/arm/sysroot/usr/include/directfb" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -Np1 -i ${stuff}/lite_fix_stat_naming.patch || return 1
29 patch -Np1 -i ${stuff}/lite_fix_pkgconfig.patch || return 1
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }