https://github.com/freed-wu/luarocks-build-autotools
A luarocks build module for autotools
https://github.com/freed-wu/luarocks-build-autotools
autotools luarocks
Last synced: about 1 year ago
JSON representation
A luarocks build module for autotools
- Host: GitHub
- URL: https://github.com/freed-wu/luarocks-build-autotools
- Owner: Freed-Wu
- License: gpl-3.0
- Created: 2024-10-07T09:12:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-17T18:19:23.000Z (about 1 year ago)
- Last Synced: 2025-03-17T19:31:27.902Z (about 1 year ago)
- Topics: autotools, luarocks
- Language: Lua
- Homepage: https://luarocks.org/modules/Freed-Wu/luarocks-build-autotools
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# luarocks-build-autotools
[](https://results.pre-commit.ci/latest/github/Freed-Wu/luarocks-build-autotools/main)
[](https://github.com/Freed-Wu/luarocks-build-autotools/actions)
[](https://github.com/Freed-Wu/luarocks-build-autotools/releases)
[](https://github.com/Freed-Wu/luarocks-build-autotools/releases/latest)
[](https://github.com/Freed-Wu/luarocks-build-autotools/issues)
[](https://github.com/Freed-Wu/luarocks-build-autotools/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/Freed-Wu/luarocks-build-autotools/pulls)
[](https://github.com/Freed-Wu/luarocks-build-autotools/pulls?q=is%3Apr+is%3Aclosed)
[](https://github.com/Freed-Wu/luarocks-build-autotools/discussions)
[](https://github.com/Freed-Wu/luarocks-build-autotools/milestones)
[](https://github.com/Freed-Wu/luarocks-build-autotools/network/members)
[](https://github.com/Freed-Wu/luarocks-build-autotools/stargazers)
[](https://github.com/Freed-Wu/luarocks-build-autotools/watchers)
[](https://github.com/Freed-Wu/luarocks-build-autotools/graphs/contributors)
[](https://github.com/Freed-Wu/luarocks-build-autotools/graphs/commit-activity)
[](https://github.com/Freed-Wu/luarocks-build-autotools/commits)
[](https://github.com/Freed-Wu/luarocks-build-autotools/releases/latest)
[](https://github.com/Freed-Wu/luarocks-build-autotools/blob/main/LICENSE)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://github.com/Freed-Wu/luarocks-build-autotools)
[](https://luarocks.org/modules/Freed-Wu/luarocks-build-autotools)
A luarocks build module based on autotools.
## Usage
`rockspec`:
```lua
-- ...
build = {
type = "autotools",
-- ...
}
```
It will do:
- call `autoreconf -vif` when `configure` doesn't exist
- call `./configure` with correct `prefix`, `libdir`, `datadir`
- `make clean`
- `make`
- copy dynamic libraries in `.libs` and `_libs` to luarocks lib directory
- copy lua files to luarocks lua directory