Commit Graph

15 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Felix Fietkau be3bcda92a luarocks: fix site config for host build
The host utility is used to build other lua modules for the target.
For that, the site config needs to specify the correct arch/system type.
Use target dependent build/staging dirs to avoid issue when switching
between targets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-01-31 18:00:38 +01:00
Rosen Penev 1c3d395008
luarocks: remove zip/host dependency
This should be satisfied by tools/host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-22 17:04:50 -08:00
Rosen Penev b61ca9d885
luarocks: Add zip/host build dependency
Needed when zip is missing on the host system.

Fixed LICENSE information.

Added *BUILD_PARALLEL for faster compilation.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-15 10:22:09 -07:00
Rosen Penev 6e3ba49a04 luarocks: Change luarocks patch to point to lua5.1
The recent lua 5.3 addition broke this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-04 13:44:35 -07:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Enrico Mioso 181460a7f1 luarocks: allow building for the host
Allow building luarocks for the host-side, thus making luarocks-based LUA
modules packging easier.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2017-11-06 23:29:06 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
David Thornley 1542acaba7 luarocks: Fix seeded uname (s/m) in siteconfig
LUAROCKS_UNAME_S/LUAROCKS_UNAME_M were being set automatically to host’s architecture and system/kernel name (e.g.. x86 and Darwin for the macOS)
The variables can now be supplied to configure via the supplied patch.
They are currently _S being hardcoded to “Linux” and _M set to the target architecture in the MakeFile.

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2016-12-22 18:12:15 +11:00
Felix Fietkau 9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
Nicolas Thill 21e4bb07e9 luarocks: update to 2.2.2
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-05-01 12:49:52 +02:00
Nicolas Thill a1bd5565d0 luarocks: don't use github conflicting tag archives (#1051)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-05-01 08:14:30 +02:00
Amr Hassan 857a85a60d LuaRocks: Add new package
Signed-off-by: Amr Hassan <amr.hassan@gmail.com>
2015-03-01 14:59:19 +02:00