wok-6.x annotate 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 |
rev | line source |
---|---|
pankso@140 | 1 # SliTaz package receipt. |
pankso@140 | 2 |
pankso@140 | 3 PACKAGE="eet" |
pankso@16132 | 4 VERSION="1.7.10" |
gokhlayeh@8505 | 5 CATEGORY="base-system" |
domcox@14574 | 6 SHORT_DESC="EFL Data encode/decode and storage library." |
pankso@140 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14994 | 8 LICENSE="BSD" |
pankso@647 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.enlightenment.org/" |
pankso@647 | 11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL" |
domcox@14389 | 12 TAGS="e enlightenment efl" |
pankso@16132 | 13 HOST_ARCH="i486 arm" |
pankso@140 | 14 |
domcox@14574 | 15 DEPENDS="eina libjpeg libssl" |
domcox@14389 | 16 BUILD_DEPENDS="eina-dev jpeg-dev openssl-dev" |
pankso@9786 | 17 |
pankso@16132 | 18 # Handle cross compilation |
pankso@16132 | 19 case "$ARCH" in |
pankso@16132 | 20 arm) LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16132 | 21 esac |
pankso@16132 | 22 |
pascal@24759 | 23 # What is the latest version available today? |
pascal@24759 | 24 current_version() |
pascal@24759 | 25 { |
pascal@24759 | 26 wget -O - https://git.enlightenment.org/legacy/eet.git/ 2>/dev/null | \ |
pascal@24759 | 27 sed '/h=v[0-9]/!d;s|.*>v||;s|<.*||;q' |
pascal@24759 | 28 } |
pascal@24759 | 29 |
pankso@140 | 30 # Rules to configure and make the package. |
pankso@140 | 31 compile_rules() |
pankso@140 | 32 { |
pankso@16132 | 33 export CFLAGS="$CFLAGS -fvisibility=hidden" |
pankso@16132 | 34 export LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14288 | 35 ./configure \ |
domcox@14327 | 36 --disable-doc \ |
domcox@14288 | 37 --disable-old-eet-file-format \ |
domcox@14288 | 38 --disable-install-examples \ |
domcox@14288 | 39 $CONFIGURE_ARGS && |
domcox@14574 | 40 make $MAKEFLAGS && make install |
pankso@140 | 41 } |
pankso@140 | 42 |
pankso@140 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 44 genpkg_rules() |
pankso@140 | 45 { |
pankso@140 | 46 mkdir -p $fs/usr/lib |
pankso@13634 | 47 cp -a $install/usr/bin $fs/usr/bin |
pankso@13634 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@140 | 49 } |