summaryrefslogtreecommitdiff
path: root/elements/trove/trove/lrexlib-pcre.bst
blob: 43cd1a970fcfd2dc89225d7f83531fb10318effd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
kind: manual
description: Lua regular expression library - PCRE build only
depends:
- python2-core.bst
- tools.bst
- morph-utils.bst
- pcre-utils.bst
- trove/trove/lua.bst
sources:
- kind: git
  url: upstream:lrexlib
  track: baserock/morph
  ref: 0524a6e3ab6d50cba63c8642a875e246de53d651
config:
  build-commands:
  - gcc -fPIC -DPIC -DVERSION=\"2.7.2\" -o rex_pcre.so -shared src/common.c src/pcre/lpcre.c
    src/pcre/lpcre_f.c -lpcre
  install-commands:
  - mkdir -p %{install-root}/usr/lib/lua/5.1/
  - cp rex_pcre.so %{install-root}/usr/lib/lua/5.1/