wok view lite/receipt @ rev 25670
Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:20:49 2024 +0000 (8 months ago) |
parents | 544e47246b33 |
children | d32586bf7d69 |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }