wok annotate evas/receipt @ rev 140

Add e17 packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 16 19:33:37 2008 +0100 (2008-01-16)
parents
children 5d91cb5a0c63
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="evas"
pankso@140 4 VERSION="0.9.9.041"
pankso@140 5 CATEGORY="extra"
pankso@140 6 SHORT_DESC="E17 libs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pankso@140 8 DEPENDS=""
pankso@140 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@140 10 WEB_SITE="http://www.enlightenment.org/"
pankso@140 11 WGET_URL="http://download.enlightenment.org/snapshots/2007-08-26/$TARBALL"
pankso@140 12
pankso@140 13 # Rules to configure and make the package.
pankso@140 14 compile_rules()
pankso@140 15 {
pankso@140 16 cd $src
pankso@140 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@140 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@140 19 make
pankso@140 20 make DESTDIR=$PWD/_pkg install
pankso@140 21 }
pankso@140 22
pankso@140 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@140 24 genpkg_rules()
pankso@140 25 {
pankso@140 26 mkdir -p $fs/usr/lib
pankso@140 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@140 28 cp -a $_pkg/usr/lib/evas $fs/usr/lib
pankso@140 29
pankso@140 30 # Clean and strip.
pankso@140 31 rm -rf $fs/usr/lib/evas/modules/*/*/linux-gnu-i486/*.*a
pankso@140 32 strip --strip-unneeded $fs/usr/lib/evas/modules/*/*/linux-gnu-i486/*
pankso@140 33 strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
pankso@140 34 }
pankso@140 35