wok annotate eet/receipt @ rev 21572
tmate: inserted some environment variables in recipe
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 18 17:29:21 2019 +0100 (2019-05-18) |
parents | c8d763479cbc |
children | b01314c762e9 |
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 |
pankso@140 | 23 # Rules to configure and make the package. |
pankso@140 | 24 compile_rules() |
pankso@140 | 25 { |
pankso@16132 | 26 export CFLAGS="$CFLAGS -fvisibility=hidden" |
pankso@16132 | 27 export LDFLAGS="$LDFLAGS -fvisibility=hidden" |
domcox@14288 | 28 ./configure \ |
domcox@14327 | 29 --disable-doc \ |
domcox@14288 | 30 --disable-old-eet-file-format \ |
domcox@14288 | 31 --disable-install-examples \ |
domcox@14288 | 32 $CONFIGURE_ARGS && |
domcox@14574 | 33 make $MAKEFLAGS && make install |
pankso@140 | 34 } |
pankso@140 | 35 |
pankso@140 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@140 | 37 genpkg_rules() |
pankso@140 | 38 { |
pankso@140 | 39 mkdir -p $fs/usr/lib |
pankso@13634 | 40 cp -a $install/usr/bin $fs/usr/bin |
pankso@13634 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@140 | 42 } |