summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25d57f51bf4ccf1fdd4e6acc344d7c9fd1e96f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: graysky <therealgraysky AT protonmail DOT com>
# Contributor: Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
pkgname=openwrt-devel
pkgver=1.0
pkgrel=1
pkgdesc='Metapackage to pull all dependencies required to build OpenWrt'
arch=('x86_64')
url='https://openwrt.org/docs/guide-developer/build-system/install-buildsystem'
license=('GPL')
depends=(
  autoconf automake bash binutils bison bzip2 fakeroot file findutils flex gawk
  gcc gettext git grep groff gzip libelf libtool libxslt m4 make ncurses
  openssl patch pkgconf 'python-setuptools>=1:69.0.3-6' rsync sed swig texinfo time unzip
  util-linux wget which zlib
)
optdepends=(asciidoc help2man intltool perl-extutils-makemaker swig)

package() {
  # currently, OpenWrt expects /usr/bin/python3.11
  # https://github.com/openwrt/openwrt/pull/15245
  mkdir -p "$pkgdir"/usr/bin
  ln -s python3.12 "$pkgdir"/usr/bin/python3.11
}