wok-6.x view eet/receipt @ rev 25002
updated nrg2iso (0.4 -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:45:30 2022 +0100 (2022-05-16) |
parents | 86790a278e70 |
children | 1be16cc1cd50 |
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://git.enlightenment.org/legacy/eet.git/ 2>/dev/null | \
27 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 export CFLAGS="$CFLAGS -fvisibility=hidden"
34 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
35 ./configure \
36 --disable-doc \
37 --disable-old-eet-file-format \
38 --disable-install-examples \
39 $CONFIGURE_ARGS &&
40 make $MAKEFLAGS && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr/bin
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }