wok-next view ecore/receipt @ rev 14321

notecase: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 22:05:54 2013 +0200 (2013-04-07)
parents 2e4ccce85409
children 0941341ce316
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="1.7.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Enlightenment's core event abstraction layer and OS abstraction layer"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.enlightenment.org/"
10 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
11 TAGS="e17"
13 DEPENDS="eina eet evas"
14 BUILD_DEPENDS="eina-dev eet-dev evas-dev jpeg-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 CFLAGS="$CFLAGS -fvisibility=hidden"
20 LDFLAGS="$LDFLAGS -fvisibility=hidden"
21 export LDFLAGS
22 ./configure \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }