wok-current view ecore/receipt @ rev 3708
Update: gcc+gcj (BUILD_DEPENDS)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jul 20 09:18:58 2009 +0000 (2009-07-20) |
parents | 5367054e9dee |
children | 2c110965aa8b |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecore"
4 VERSION="0.9.9.060"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 core libs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas libcurl openssl xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
10 xorg-libXrandr xorg-libXrender xorg-libXdamage xorg-libXtst"
11 BUILD_DEPENDS="xorg-dev eet-dev evas-dev xorg-libXtst-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.enlightenment.org/"
14 WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-ecore-config \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 for i in $fs/usr/lib/*.so ; do
37 [ -L $i ] || continue
38 [ -e $i.0 ] && continue
39 target=$(readlink $i)
40 case "$target" in
41 *.so.0.*) ln -s $target $i.0;;
42 esac
43 done
44 }