wok-next annotate pcre/receipt @ rev 12771
pcre: add to arm arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 03:20:37 2012 +0200 (2012-05-13) |
parents | 02c2619cbe1c |
children | 51a1ebbda768 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
pankso@12470 | 4 VERSION="8.30" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@6 | 6 SHORT_DESC="Perl Compatible Regular Expressions." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7607 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@6 | 9 WEB_SITE="http://www.pcre.org/" |
pankso@6 | 10 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" |
pankso@12771 | 11 HOST_ARCH="i486 arm" |
pankso@6 | 12 |
pankso@6 | 13 # Rules to configure and make the package. |
pankso@6 | 14 compile_rules() |
pankso@6 | 15 { |
pankso@6 | 16 cd $src |
pankso@12470 | 17 ./configure \ |
pankso@12470 | 18 --enable-utf \ |
pankso@12470 | 19 --enable-unicode-properties \ |
pankso@12470 | 20 $CONFIGURE_ARGS && |
pankso@9663 | 21 make && make install |
pankso@6 | 22 } |
pankso@6 | 23 |
pankso@6 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 25 genpkg_rules() |
pankso@6 | 26 { |
pankso@6 | 27 mkdir -p $fs/usr/lib |
pankso@12470 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 29 } |