From ccc722b7ed330198d82a3cf28ead76d6d107a70a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Jun 2022 21:25:48 +0000 Subject: added java --- repo/re2c/re2c.xibuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 repo/re2c/re2c.xibuild (limited to 'repo/re2c') diff --git a/repo/re2c/re2c.xibuild b/repo/re2c/re2c.xibuild new file mode 100644 index 0000000..ee87148 --- /dev/null +++ b/repo/re2c/re2c.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="re2c" +DESC="Lexer generator for C, C++ and Go" + +MAKEDEPS="" + +PKG_VER=2.1.1 +SOURCE="https://github.com/skvadrik/re2c/releases/download/$PKG_VER/re2c-$PKG_VER.tar.xz" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + -- cgit v1.2.1