wok-next view evas/receipt @ rev 15342

mplayerplug-in, gecko-mediaplayer: add -I/usr/include/nspr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 15:05:37 2013 +0000 (2013-09-29)
parents 892e4154d73c
children 45fbbff6001b
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="1.7.8"
5 CATEGORY="x-window"
6 SHORT_DESC="EFL Canvas and scenegraph rendering library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.enlightenment.org/"
11 WGET_URL="http://download.enlightenment.org/releases/$TARBALL"
12 TAGS="e enlightenment efl"
14 DEPENDS="eet expat fontconfig freetype
15 giflib libpng tiff libxml2 xorg xorg-libXss xorg-libXp"
16 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev
17 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev
18 xorg-dev xorg-libXss-dev xorg-libXp-dev"
19 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 CFLAGS="$CFLAGS -fvisibility=hidden"
25 LDFLAGS="$LDFLAGS -fvisibility=hidden"
26 export LDFLAGS
28 ./configure \
29 --libexecdir=/usr/lib/$PACKAGE \
30 --enable-cpu-c \
31 --disable-doc \
32 --disable-install-examples \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/evas $fs/usr/lib
43 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
44 cp -a $install/usr/share $fs/usr
45 }