wok-4.x annotate evas/receipt @ rev 1586

knock: fix CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 17:56:33 2008 +0000 (2008-10-16)
parents cf22fee17710
children 7e35e02ae6d2
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="evas"
pankso@155 4 VERSION="0.9.9.042"
pankso@211 5 CATEGORY="x-window"
pankso@140 6 SHORT_DESC="E17 libs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pascal@1465 8 BUILD_DEPENDS="xorg-libX11-dev"
pankso@140 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@140 10 WEB_SITE="http://www.enlightenment.org/"
pankso@155 11 WGET_URL="http://download.enlightenment.org/snapshots/2008-01-25/$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 \
pascal@1465 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1465 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