wok annotate edje/receipt @ rev 1191

Add clean_wok rules in db.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 05 00:37:08 2008 +0200 (2008-08-05)
parents 5d91cb5a0c63
children 6a6ba65f2ad7
rev   line source
pankso@140 1 # SliTaz package receipt.
pankso@140 2
pankso@140 3 PACKAGE="edje"
pankso@155 4 VERSION="0.5.0.042"
pankso@211 5 CATEGORY="x-window"
pankso@140 6 SHORT_DESC="E17 libs."
pankso@140 7 MAINTAINER="pankso@slitaz.org"
pankso@140 8 DEPENDS="eet evas ecore embryo"
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 \
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/bin $fs/usr
pankso@140 28 cp -a $_pkg/usr/share $fs/usr
pankso@140 29 chmod 755 $fs/usr/bin/*
pankso@140 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@140 31 strip -s $fs/usr/bin/* 2>/dev/null
pankso@140 32 strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
pankso@140 33 }
pankso@140 34