Commit 3b940226 authored by Simon F's avatar Simon F Committed by Leo
Browse files

community/commons-daemon: use java-provides abstractions

parent 67e90393
......@@ -2,14 +2,14 @@
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=commons-daemon
pkgver=1.2.4
pkgrel=0
pkgrel=1
pkgdesc="Tools to allow Java programs to run as UNIX daemons"
url="https://commons.apache.org/daemon/"
arch="all !mips !mips64"
license="Apache-2.0"
options="!check" # No test suite
depends="openjdk8-jre-base"
makedepends="docbook2x libcap-dev linux-headers maven openjdk8" # update --with-java when bumping openjdk
depends="java-jre-headless"
makedepends="docbook2x libcap-dev linux-headers maven java-jdk"
subpackages="$pkgname-doc jsvc:_jsvc jsvc-doc:_jsvc_doc"
source="https://mirrors.dotsrc.org/apache/commons/daemon/source/commons-daemon-$pkgver-src.tar.gz
rat_workaround.patch
......@@ -26,8 +26,8 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-java=/usr/lib/jvm/java-1.8-openjdk \
CFLAGS="$CFLAGS -I/usr/lib/jvm/java-1.8-openjdk/include/linux"
--with-java=/usr/lib/jvm/default-jvm \
CFLAGS="$CFLAGS -I/usr/lib/jvm/default-jvm/include/linux"
make
# jsvc manpage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment