apache-kafka: update to 3.0.0

This commit is contained in:
Kyle Nusbaum 2022-01-05 23:39:24 +00:00 committed by Piraty
parent ff150d16f0
commit ecda8f9750
2 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# Template file for 'apache-kafka' # Template file for 'apache-kafka'
pkgname=apache-kafka pkgname=apache-kafka
version=2.4.0 version=3.0.0
revision=1 revision=1
wrksrc="kafka-${version}-src" wrksrc="kafka-${version}-src"
hostmakedepends="curl which tar openjdk8" hostmakedepends="curl which tar openjdk8"
@ -9,8 +9,8 @@ short_desc="Distributed Streaming Platform"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>" maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://kafka.apache.org" homepage="https://kafka.apache.org"
distfiles="http://apache.mirrors.ionfish.org/kafka/${version}/kafka-${version}-src.tgz" distfiles="https://dlcdn.apache.org/kafka/${version}/kafka-${version}-src.tgz"
checksum=d09efde300c1027e0289de1a1d2da093ecce6b182250e03f05215fb044f24f8b checksum=66a9efddcc2ce88984941020db012178efd51eb47c359c7fd1bab791416e39cd
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
ppc64*) ;; ppc64*) ;;
@ -27,7 +27,7 @@ do_build() {
do_install() { do_install() {
vmkdir usr/lib/kafka vmkdir usr/lib/kafka
tar -xf core/build/distributions/kafka_2.12-${version}.tgz -C ${DESTDIR}/usr/lib/kafka --strip 1 tar -xf core/build/distributions/kafka_2.13-${version}.tgz -C ${DESTDIR}/usr/lib/kafka --strip 1
rm -Rf ${DESTDIR}/usr/lib/kafka/bin/windows rm -Rf ${DESTDIR}/usr/lib/kafka/bin/windows
mkdir -p ${DESTDIR}/etc/profile.d mkdir -p ${DESTDIR}/etc/profile.d

View file

@ -0,0 +1,2 @@
site=https://kafka.apache.org/downloads.html
pkgname=""