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