diff --git a/srcpkgs/jep/template b/srcpkgs/jep/template new file mode 100644 index 00000000000..22dcc3a1dfc --- /dev/null +++ b/srcpkgs/jep/template @@ -0,0 +1,21 @@ +# Template file for 'jep' +pkgname=jep +version=4.1.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools openjdk17" +makedepends="python3-devel openjdk17" +short_desc="Embed Python in Java" +maintainer="Andrew Benson " +license="Zlib" +homepage="https://github.com/ninia/jep" +changelog="https://github.com/ninia/jep/releases" +distfiles="https://github.com/ninia/jep/archive/v${version}.tar.gz" +checksum=1ce29fbb40a168fa0803f4e325a790421d85262a179f90754395487171dbbb89 + +export JAVA_HOME=/usr/lib/jvm/openjdk17 +export LDFLAGS=-L${XBPS_CROSS_BASE}/usr/lib/jvm/openjdk17/lib/server + +post_install() { + ln -sf jep.so ${DESTDIR}/${py3_sitelib}/jep/libjep.so +}