wok view lite/receipt @ rev 25310
updated slim, slim-pam and slim-theme-default (1.3.5 -> 1.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 17:04:10 2022 +0100 (2022-07-20) |
parents | 17e313b5b9c1 |
children | 7364ffdaaa60 |
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 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - https://github.com/rxi/lite/releases 2>/dev/null | \
29 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 patch -Np1 -i ${stuff}/lite_fix_stat_naming.patch || return 1
36 patch -Np1 -i ${stuff}/lite_fix_pkgconfig.patch || return 1
37 ./configure \
38 $CONFIGURE_ARGS &&
39 make && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }