4 pkgdesc="pcre library for lua"
6 url="http://rrthomas.github.com/lrexlib/"
12 source=("http://luaforge.net/frs/download.php/4759/lrexlib-2.5.3.zip")
13 md5sums=('a51c5ff54d85bfd1222ddbfd922a7d51')
16 cd $srcdir/lrexlib-2.5.3/src/pcre
17 #sed -i 's/\(CFLAGS = .*\)/\1 -fPIC/' ../common.mak
18 #uncomment the previous line for x86_64
23 install -D ${srcdir}/lrexlib-2.5.3/src/pcre/rex_pcre.so.2.5 ${pkgdir}/usr/lib/lua/5.1/rex_pcre.so.2.5 || return 1
24 cd ${pkgdir}/usr/lib/lua/5.1
25 ln -s rex_pcre.so.2.5 rex_pcre.so