wok-next diff lite/receipt @ rev 17228
Add flake8
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 16 13:30:13 2014 +0200 (2014-10-16) |
parents | |
children | 17e313b5b9c1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lite/receipt Thu Oct 16 13:30:13 2014 +0200 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lite" 1.7 +VERSION="0.8.10" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="LiTE is a Toolkit Engine using DirectFB" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +SOURCE="LiTE" 1.13 +TARBALL="${SOURCE}-${VERSION}.tar.gz" 1.14 +WEB_SITE="http://www.directfb.org/index.php?path=Platform/LiTE" 1.15 +WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL" 1.16 +HOST_ARCH="i486 arm" 1.17 + 1.18 +DEPENDS="directfb" 1.19 +BUILD_DEPENDS="directfb-dev" 1.20 + 1.21 +# Handle cross compilation. 1.22 +case "$ARCH" in 1.23 + arm) 1.24 + export LDFLAGS="-L/cross/arm/sysroot/usr/lib" 1.25 + export CPPFLAGS="-I/cross/arm/sysroot/usr/include/directfb" ;; 1.26 +esac 1.27 + 1.28 +# Rules to configure and make the package. 1.29 +compile_rules() 1.30 +{ 1.31 + patch -Np1 -i ${stuff}/lite_fix_stat_naming.patch || return 1 1.32 + patch -Np1 -i ${stuff}/lite_fix_pkgconfig.patch || return 1 1.33 + ./configure \ 1.34 + $CONFIGURE_ARGS && 1.35 + make && make install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr/lib 1.42 + cp -a $install/usr/bin $fs/usr 1.43 + cp -a $install/usr/share $fs/usr 1.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 +}