Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion srcpkgs/ejabberd/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'ejabberd'
pkgname=ejabberd
version=22.05
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-odbc --enable-mysql --enable-pgsql --enable-pam
--enable-redis --enable-elixir $(vopt_enable sqlite)"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/elixir/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'elixir'
pkgname=elixir
version=1.18.4
revision=1
revision=2
build_style=gnu-makefile
make_check_target="test_erlang test_elixir"
hostmakedepends="erlang"
Expand Down
27 changes: 15 additions & 12 deletions srcpkgs/erlang/template
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Template file for 'erlang'
pkgname=erlang
version=26.2.5.12
version=28.0
revision=1
build_style=gnu-configure
make_install_target="install install-docs"
hostmakedepends="autoconf libxslt perl tar"
configure_args="--without-javac --disable-year2038"
make_install_target="install"
hostmakedepends="autoconf libxslt perl curl tar"
makedepends="openssl-devel ncurses-devel unixodbc-devel zlib-devel"
short_desc="Concurrent functional programming language developed by Ericsson"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="http://www.erlang.org/"
homepage="https://www.erlang.org"
changelog="https://github.com/erlang/otp/releases"
distfiles="https://github.com/erlang/otp/archive/OTP-${version}.tar.gz"
checksum=93c97a3e14c3700eaaf2182b078fd35f8492da215327bd9c78a1f047946129f7
subpackages="erlang-doc"
distfiles="https://github.com/erlang/otp/archive/refs/tags/OTP-${version}.tar.gz"
checksum=d26f21b6af2f8833291afee077c7a50cfbdcfa880fe3e289c6cb6df15c1953d1
subpackages=" "

if [ -z "$CROSS_BUILD" ]; then
configure_args+=" --with-wx-config=wx-config-gtk3"
make_install_target+=" install-docs"
makedepends+=" wxWidgets-gtk3-devel glu-devel"
subpackages+=" erlang-wx"
subpackages+=" erlang-wx erlang-doc"
fi

case "$XBPS_TARGET_MACHINE" in
Expand All @@ -40,11 +42,12 @@ post_configure() {
vsed -i -e '/LDFLAGS =/s/=/+=/' lib/odbc/c_src/*/Makefile
}

pre_install() {
./otp_build download_ex_doc
export EX_DOC_WARNINGS_AS_ERRORS=false
}

post_install() {
# Remove PR template and PDF documentation
rm ${DESTDIR}/usr/lib/erlang/PR.template
find ${DESTDIR}/usr/lib/erlang -path '*/doc/pdf' -type d -print0 | xargs -0 rm -rf
find ${DESTDIR}/usr/lib/erlang -iname '*.pdf' -delete
# Make section 1 pages available outside erlang
vmkdir usr/share/man/man1
local manprefix=/usr/lib/erlang/man/man1
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/erlang_ls/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'erlang_ls'
pkgname=erlang_ls
version=1.1.0
revision=1
revision=2
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
hostmakedepends="rebar3 erlang"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/lfe/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'lfe'
pkgname=lfe
version=2.1.1
revision=1
revision=2
build_style=gnu-makefile
hostmakedepends="erlang"
depends="erlang"
Expand Down
12 changes: 6 additions & 6 deletions srcpkgs/rebar3/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'rebar3'
pkgname=rebar3
version=3.19.0
revision=3
version=3.24.0
revision=1
hostmakedepends=erlang
depends="erlang>=22"
depends="erlang>=25"
short_desc="Erlang build tool to compile, test, and release applications"
maintainer="Noel Cower <ncower@nil.dev>"
license="Apache-2.0"
homepage="https://www.rebar3.org/"
distfiles="https://github.com/erlang/rebar3/archive/${version}.tar.gz"
checksum=ff9ef42c737480477ebdf0dd9d95ece534a14c96f05edafbf32e9af973280bc3
homepage="https://rebar3.org"
distfiles="https://github.com/erlang/rebar3/archive/refs/tags/${version}.tar.gz"
checksum=391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c

do_build() {
./bootstrap
Expand Down
Loading