wok-4.x annotate pcre/receipt @ rev 9663
pcre: clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 01 09:13:52 2011 +0200 (2011-05-01) |
parents | 95b9a6a1b091 |
children | 0219c11c76d5 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
slaxemulator@7994 | 4 VERSION="8.12" |
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@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@9663 | 16 ./configure --enable-utf8 && |
pankso@9663 | 17 make && make install |
pankso@6 | 18 } |
pankso@6 | 19 |
pankso@6 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 21 genpkg_rules() |
pankso@6 | 22 { |
pankso@6 | 23 mkdir -p $fs/usr/lib |
pankso@6 | 24 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 25 } |