wok-next view lite/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE"
11 TARBALL="LiTE-$VERSION.tar.gz"
12 WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL"
14 BUILD_DEPENDS="directfb-dev"
15 SPLIT="lite-dev"
17 compile_rules() {
18 case "$ARCH" in
19 arm)
20 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
21 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;;
22 esac
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 lite)
33 copy @std
34 DEPENDS="directfb"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }