I'd like to package and maintain the TRE library for Cygwin. TRE is a regexp
matching library, which includes unique features including approxmiate
matching. It also includes agrep, a variant of grep that does approximate line
matching.

The Cygport file is below, and in the tre branch of
https://cygwin.com/git/cygwin-packages/playground.

libtre5 is in Debian: https://packages.debian.org/sid/libtre5 .

libtre5, utf8proc, and libuninum are all dependencies of msort, which I plan
to package once all of those are released.

Andrew

--

# Cygport script for tre

NAME=tre
VERSION=0.9.0
RELEASE=1

# Packaging

SUMMARY="Regexp matching library"
DESCRIPTION="TRE is a lightweight, robust, and efficient POSIX compliant
regexp matching library with unique features such as approximate matching."
CATEGORY="Utils Libs"
HOMEPAGE="https://github.com/laurikari/tre/";
LICENSE="BSD-2-Clause"

PKG_NAMES="agrep libtre5 libtre-devel"

agrep_CONTENTS="usr/bin/agrep.exe usr/share/man"
agrep_CATEGORY="Utils"
agrep_SUMMARY="Find lines that approximately match a pattern"
agrep_DESCRIPTION="Search for approximate pattern matches within the input, up
to a given number of errors."

libtre5_CONTENTS="usr/bin/cygtre-5.dll usr/share/locale"
libtre5_CATEGORY="Libs"

libtre_devel_CONTENTS="--exclude=usr/bin --exclude=usr/share/locale
--exclude=usr/share/man usr"
libtre_devel_CATEGORY="Devel"

# Sources

SRC_URI="https://github.com/laurikari/tre/releases/download/v${PV}/tre-${PV}.tar.gz";

# Build

BUILD_REQUIRES="libintl-devel"

Reply via email to