wok diff eina/receipt @ rev 2950

ecore: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 13:46:20 2009 +0200 (2009-05-08)
parents
children 2c110965aa8b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/eina/receipt	Fri May 08 13:46:20 2009 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="eina"
     1.7 +VERSION="0.0.2.060"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Eina E17 Data types library (List, hash, etc)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="pkg-config"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.enlightenment.org/"
    1.15 +WGET_URL="http://download.enlightenment.org/snapshots/2009-04-22/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib/eina/mp
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 +	cp -a $_pkg/usr/lib/eina/mp/*.so $fs/usr/lib/eina/mp
    1.36 +}
    1.37 +