wok-next view pcre/receipt @ rev 20915

libboost -> boost
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 00:41:54 2018 +0300 (2018-08-21)
parents b863487b8e7a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcre"
4 VERSION="8.42"
5 CATEGORY="meta"
6 SHORT_DESC="Perl 5 Compatible Regular Expression"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.pcre.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pcre.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
16 SPLIT="libpcre libpcre16 libpcre32 libpcrecpp libpcreposix pcre-apps pcre-dev"
18 compile_rules() {
19 ./configure \
20 --enable-unicode-properties \
21 --enable-pcre16 \
22 --enable-pcre32 \
23 --enable-pcregrep-libz \
24 --enable-pcregrep-libbz2 \
25 --enable-pcretest-libreadline \
26 --disable-static \
27 --enable-jit \
28 --enable-valgrind \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install || return 1
34 mkdir -p $install/lib
35 mv -v $install/usr/lib/libpcre.so.* $install/lib
36 ln -sfv ../../lib/$(readlink $install/usr/lib/libpcre.so) \
37 $install/usr/lib/libpcre.so
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 pcre)
43 CAT="meta|old way compatibility meta-package"
44 DEPENDS="libpcre libpcre16 libpcre32 libpcrecpp libpcreposix"
45 ;;
46 libpcre)
47 copy libpcre.so*
48 CAT="system-tools|PCRE library"
49 DEPENDS=" "
50 ;;
51 libpcre16)
52 copy libpcre16.so*
53 CAT="system-tools|PCRE-16 library"
54 DEPENDS=" "
55 ;;
56 libpcre32)
57 copy libpcre32.so*
58 CAT="system-tools|PCRE-32 library"
59 DEPENDS=" "
60 ;;
61 libpcrecpp)
62 copy libpcrecpp.so*
63 CAT="system-tools|PCRE-CPP library"
64 DEPENDS="libpcre"
65 ;;
66 libpcreposix)
67 copy libpcreposix.so*
68 CAT="system-tools|PCRE-POSIX library"
69 DEPENDS=" "
70 ;;
71 *-apps)
72 copy @std @rm
73 DEPENDS="libpcre libpcre16 libpcre32 libpcreposix bzlib readline \
74 zlib"
75 CAT="development|applications"
76 ;;
77 *-dev) copy @dev;;
78 esac
79 }