wok annotate eet/receipt @ rev 20371
gnupg: restore compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 10 12:54:49 2018 +0200 (2018-06-10) |
parents | 699d8c6d701e |
children | 86790a278e70 |
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" |
pankso@140 | 10 WEB_SITE="http://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 } |