1 # Maintainer: Dwight Schauer <dschauer@gmail.com>
6 pkgdesc="An Object Request Broker in Lua"
8 url="http://www.tecgraf.puc-rio.br/~maia/oil/index.html"
11 depends=('lua64>=5.1')
21 source=(http://www.tecgraf.puc-rio.br/~maia/oil/${_pkgname}-${pkgver}.tar.gz)
25 cd "$srcdir/$_pkgname-$pkgver"
29 -e 's,LUA_HOME= /usr/local,LUA_HOME= /usr,' \
30 -e 's,INSTALL_TOP= $(LUA_HOME),INSTALL_TOP= /usr,' \
31 -e 's,CFLAGS=,CFLAGS= -DLNUM_INT64,' \
34 echo Patching Makefile
36 -e 's,$(INSTALL_LIB)$,'${pkgdir}'$(INSTALL_LIB),' \
37 -e 's,$(INSTALL_INC)$,'${pkgdir}'$(INSTALL_INC),' \
38 -e 's,$(INSTALL_LMOD)$,'${pkgdir}'$(INSTALL_LMOD),' \
39 -e 's,cd $(INSTALL_LIB);,cd '${pkgdir}'$(INSTALL_LIB);,' \
40 -e 's,cd $(INSTALL_CMOD);,cd '${pkgdir}'$(INSTALL_CMOD);,' \
41 -e 's,cd $(INSTALL_CMOD)/socket;,cd '${pkgdir}'$(INSTALL_CMOD)/socket;,' \
42 -e 's,cd $(INSTALL_CMOD)/oil.*;,cd '${pkgdir}'$(INSTALL_CMOD)/oil;,' \
43 -e 's,mkdir -p $@$,mkdir -p '${pkgdir}'$@,' \
46 echo Creating directories
47 mkdir -p ${pkgdir}/usr/share/lua/5.1
48 mkdir -p ${pkgdir}/usr/include
49 mkdir -p ${pkgdir}/usr/lib
50 mkdir -p ${pkgdir}/usr/lib/lua/5.1/oil
51 mkdir -p ${pkgdir}/usr/lib/lua/5.1/socket
57 cd "$srcdir/$_pkgname-$pkgver"
61 sha256sums=('7c6fcd425b5514b00fe9bdba63e357c1430de0e3612c01e7f3e24d17270b09b8')
63 # vim:set ts=2 sw=2 et: