Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made example rockspec #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Made example rockspec #19

wants to merge 1 commit into from

Conversation

jprjr
Copy link
Contributor

@jprjr jprjr commented Feb 20, 2014

I just made an example rockspec file. This allows lua-zlib to be built and installed with luarocks build ./lua-zlib-git-2014.02.19-1.rockspec

@brimworks
Copy link
Owner

I just merged this in: https://github.com/optiflows/lua-zlib/commit/33f2d8d6269ff84f6cd491dced567e38e0db5b72 can you compare this change with yours? I'm not to familiar with rockspec format.

Thanks,
-Brian

@jprjr
Copy link
Contributor Author

jprjr commented Feb 21, 2014

Well, that other one is missing the flag for using the zlib library - check out lines 29-31 in my file.

The other thing is the source url and tag. You can use a git:// url as source.url and specify a tag with source.tag (I didn't do it that way in my rockspec, I just directly referenced a commit in source.url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants