wok view eet/receipt @ rev 25773
cookutils: fix svg compressor
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 16:25:52 2024 +0000 (2 months ago) |
parents | b01314c762e9 |
children |
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="https://download.enlightenment.org/__old/att/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 }