diff options
Diffstat (limited to 'repo/re2c')
-rw-r--r-- | repo/re2c/re2c.xibuild | 23 |
1 files changed, 23 insertions, 0 deletions
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 +} + |