wok-next view pcre2/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | c4e53a39395a |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcre2"
4 VERSION="10.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression 2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.pcre.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
16 SPLIT="pcre2-apps pcre2-dev"
18 compile_rules() {
19 ./configure \
20 --docdir=/usr/share/doc/pcre2-$VERSION \
21 --enable-unicode \
22 --enable-pcre2-16 \
23 --enable-pcre2-32 \
24 --enable-pcre2grep-libz \
25 --enable-pcre2grep-libbz2 \
26 --enable-pcre2test-libreadline \
27 --disable-static \
28 --enable-jit \
29 --enable-valgrind \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 pcre2)
37 copy *.so*
38 CAT="system-tools|library"
39 ;;
40 *-apps)
41 copy @std @rm
42 DEPENDS="pcre2 bzlib ncurses readline zlib"
43 CAT="development|applications"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }