wok view eet/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents c8d763479cbc
children b01314c762e9
line source
1 # SliTaz package receipt.
3 PACKAGE="eet"
4 VERSION="1.7.10"
5 CATEGORY="base-system"
6 SHORT_DESC="EFL Data encode/decode and storage library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment efl"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eina libjpeg libssl"
16 BUILD_DEPENDS="eina-dev jpeg-dev openssl-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm) LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CFLAGS="$CFLAGS -fvisibility=hidden"
27 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
28 ./configure \
29 --disable-doc \
30 --disable-old-eet-file-format \
31 --disable-install-examples \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr/bin
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }