wok annotate fribidi/receipt @ rev 5766
gPodder: Fix compile rules (Thanks Thomas Perl)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Mon Jul 05 15:16:06 2010 +0000 (2010-07-05) |
parents | 3f18ea6cb6ad |
children | 6d3d0bcb5c5e |
rev | line source |
---|---|
pankso@31 | 1 # SliTaz package receipt. |
pankso@31 | 2 |
pankso@31 | 3 PACKAGE="fribidi" |
pankso@31 | 4 VERSION="0.10.9" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@31 | 6 SHORT_DESC="Free implementation of the Unicode Bidirectional Algorithm" |
pankso@31 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@31 | 8 DEPENDS="xorg" |
pankso@31 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@31 | 10 WEB_SITE="http://fribidi.freedesktop.org/wiki/" |
pankso@31 | 11 WGET_URL="http://fribidi.org/download/$TARBALL" |
pankso@31 | 12 |
pankso@31 | 13 # Rules to configure and make the package. |
pankso@31 | 14 compile_rules() |
pankso@31 | 15 { |
pankso@31 | 16 cd $src |
pankso@31 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@31 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@31 | 19 make |
pankso@31 | 20 make DESTDIR=$PWD/_pkg install |
pankso@31 | 21 } |
pankso@31 | 22 |
pankso@31 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@31 | 24 genpkg_rules() |
pankso@31 | 25 { |
pankso@31 | 26 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@31 | 27 cp -a $_pkg/usr/bin/fribidi $fs/usr/bin |
pankso@31 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@31 | 29 strip -s $fs/usr/bin/* |
pankso@31 | 30 strip -s $fs/usr/lib/* |
pankso@31 | 31 } |
pankso@31 | 32 |