wok-4.x annotate pcre/receipt @ rev 2637
Added tag 2.0 for changeset cf71613b81e7
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 16 20:00:00 2009 +0200 (2009-04-16) |
parents | b1a369a1cb4c |
children | 1ebcf9d9dad9 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
pankso@1765 | 4 VERSION="7.8" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@6 | 6 SHORT_DESC="Perl Compatible Regular Expressions." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@6 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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@6 | 11 |
pankso@6 | 12 # Rules to configure and make the package. |
pankso@6 | 13 compile_rules() |
pankso@6 | 14 { |
pankso@6 | 15 cd $src |
pankso@564 | 16 ./configure \ |
pankso@564 | 17 --prefix=/usr \ |
pankso@564 | 18 --enable-utf8 \ |
pankso@1765 | 19 $CONFIGURE_ARGS && |
pankso@1765 | 20 make && |
pankso@6 | 21 make DESTDIR=$PWD/_pkg 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@6 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 29 } |