wok annotate pcre/receipt @ rev 19446
dillo: add stuff/fltk-1.3.3.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 15 18:21:21 2016 +0200 (2016-10-15) |
parents | c9e270dd464f |
children | 9d254903769e |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
al@19221 | 4 VERSION="8.39" |
pankso@202 | 5 CATEGORY="system-tools" |
al@19221 | 6 SHORT_DESC="Perl 5 Compatible Regular Expression, library" |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
slaxemulator@7607 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@6 | 10 WEB_SITE="http://www.pcre.org/" |
pankso@6 | 11 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" |
pankso@12771 | 12 HOST_ARCH="i486 arm" |
pankso@6 | 13 |
pankso@6 | 14 # Rules to configure and make the package. |
pankso@6 | 15 compile_rules() |
pankso@6 | 16 { |
pankso@12470 | 17 ./configure \ |
al@16818 | 18 --prefix=/usr \ |
al@16818 | 19 --enable-pcre16 \ |
al@16818 | 20 --enable-pcre32 \ |
al@19221 | 21 --enable-jit \ |
al@19221 | 22 --enable-unicode-properties \ |
pankso@12470 | 23 $CONFIGURE_ARGS && |
pankso@9663 | 24 make && make install |
al@19221 | 25 |
al@19221 | 26 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
al@19221 | 27 for i in $(find $install/usr/share/man -type l); do |
al@19221 | 28 dest=$(readlink $i) |
al@19221 | 29 rm $i; ln -s $dest.gz $i.gz |
al@19221 | 30 done |
pankso@6 | 31 } |
pankso@6 | 32 |
pankso@6 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 34 genpkg_rules() |
pankso@6 | 35 { |
pankso@6 | 36 mkdir -p $fs/usr/lib |
pankso@12470 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 38 } |