Skip to content

Conversation

aloisklink
Copy link

PKG_SOURCE_URL must not point to the .tar.gz file, instead it must point to the directory of the download, while PKG_SOURCE points to the .tar.gz

See the Creating packages guide on the OpenWRT Wiki.

As an example, see the websocketpp Makefile.

For PKG_VERSION:=0.5.0, release, the URL will be https://github.com/wasm3/wasm3/archive/v0.5.0/wasm3-0.5.0.tar.gz

`PKG_SOURCE_URL` must not point to the `.tar.gz` file, instead it must
point to the directory of the download, while `PKG_SOURCE` points to
the `.tar.gz`

See the [**Creating packages** guide on the OpenWRT Wiki][1].
As an example, see the [websocketpp Makefile][2].

[1]: https://openwrt.org/docs/guide-developer/packages#buildpackage_variables
[2]: https://github.com/openwrt/packages/blob/f08eb8552c6bd71124a5407fb37abe6dc4982ac3/libs/websocketpp/Makefile#L11-L13

on-behalf-of: @nqminds <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant