|
|
|
@ -20,4 +20,12 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
premake="sed -e \"s,INSTALL_ROOT=.*,INSTALL_ROOT=${root}/${prefix},g\" -i config" |
|
|
|
premake="sed -e \"s,INSTALL_TOP=.*,INSTALL_TOP=${root}/${prefix},g\" -i Makefile" |
|
|
|
var_append makeopt " " "linux" |
|
|
|
|
|
|
|
install_lua_pkg_config () { |
|
|
|
sed -i "s,/usr/local,${root}/${prefix},g" etc/lua.pc |
|
|
|
cp etc/lua.pc /usr/lib/pkgconfig |
|
|
|
} |
|
|
|
|
|
|
|
hook_add postinstall 3 "install_lua_pkg_config" |