wok-next view eet/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 8c1b5830f802 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.enlightenment.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
15 BUILD_DEPENDS="eina-dev libjpeg-turbo-dev openssl-dev zlib-dev"
16 SPLIT="eet-dev"
18 compile_rules() {
19 case "$ARCH" in
20 arm) LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
22 export CFLAGS="$CFLAGS -fvisibility=hidden"
23 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
25 ./configure \
26 --disable-doc \
27 --disable-old-eet-file-format \
28 --disable-install-examples \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS && make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 eet)
36 copy @std
37 DEPENDS="eina libjpeg-turbo openssl"
38 TAGS="e enlightenment efl"
39 ;;
40 eet-dev)
41 copy @dev
42 DEPENDS="eina-dev libjpeg-turbo-dev openssl-dev pkg-config"
43 ;;
44 esac
45 }