1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/luasocket/luasocket.conf
3 # Copyright (C) 2006 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # inherit some stuff like myCFLAGS, myLIBS
13 . $base/package/*/*/lua-conf.in
15 LUA_INC=$( pkgprefix includedir lua )
17 var_append makeinstopt ' ' "INSTALL_TOP_LIB=$root$pkglibdir"
18 var_append makeinstopt ' ' "INSTALL_TOP_SHARE=$root$pkgdatadir"
19 var_append makeopt ' ' "LD=$CC"
21 var_append LDFLAGS ' ' "$myLIBS -O -shared"
22 var_append CFLAGS ' ' "-I$LUA_INC -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fno-common -fPIC -fpic $myCFLAGS"
25 hook_add postmake 5 "install_lua_module_doc"