wok-6.x view evas/receipt @ rev 18663
Up tazpkg(880); change pre- post-functions, etc. in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 02:45:17 2015 +0200 (2015-12-04) |
parents | 8417cbe6fdae |
children | 86790a278e70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="evas"
4 VERSION="1.7.10"
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="eet expat fontconfig freetype giflib libpng tiff libxml2 \
16 xorg-libXss xorg-libXp eina"
17 BUILD_DEPENDS="eet-dev expat-dev fontconfig-dev freetype-dev fribidi-dev \
18 giflib-dev libpng-dev tiff-dev libxml2-dev util-linux-uuid-dev \
19 xorg-libXss-dev xorg-libXp-dev eina-dev"
20 OPTIONAL_DEPENDS="mesa-dev libglu-mesa-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CFLAGS="$CFLAGS -fvisibility=hidden"
26 export LDFLAGS="$LDFLAGS -fvisibility=hidden"
27 ./configure \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --enable-cpu-c \
30 --disable-doc \
31 --disable-install-examples \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/evas $fs/usr/lib
42 rm -rf $fs/usr/lib/evas/modules/*/*/*/*.*a
43 cp -a $install/usr/share $fs/usr
44 }