wok view lite/receipt @ rev 17801
libmatekbd: Up deps
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 02:39:23 2015 -0300 (2015-03-21) |
parents | 3895d6099b91 |
children | 544e47246b33 |
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="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
22 export CPPFLAGS="$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 }