colm is in Fedora:

    https://apps.fedoraproject.org/packages/colm

My cygport file and patch are attached.

Package files:

http://sanibeltranquility.com/cygwin/x86/release/colm/colm-0.13.0.6-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/colm/colm-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/colm/colm-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86/release/colm/libcolm-devel/libcolm-devel-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86/release/colm/libcolm-devel/libcolm-devel-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/colm/colm-debuginfo/colm-debuginfo-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86/release/colm/colm-debuginfo/colm-debuginfo-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/colm/libcolm0.13.0.6/libcolm0.13.0.6-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86/release/colm/libcolm0.13.0.6/libcolm0.13.0.6-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/colm/colm-0.13.0.6-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/colm/colm-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/colm/colm-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/colm/libcolm-devel/libcolm-devel-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/colm/libcolm-devel/libcolm-devel-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/colm/colm-debuginfo/colm-debuginfo-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/colm/colm-debuginfo/colm-debuginfo-0.13.0.6-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/colm/libcolm0.13.0.6/libcolm0.13.0.6-0.13.0.6-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/colm/libcolm0.13.0.6/libcolm0.13.0.6-0.13.0.6-1.tar.xz

License: MIT and LGPLv2+

Ken
NAME="colm"
VERSION=0.13.0.6
RELEASE=1

inherit vim

HOMEPAGE="https://www.colm.net/open-source/colm/";
SRC_URI="https://www.colm.net/files/${NAME}/${NAME}-${VERSION}.tar.gz";
PATCH_URI="colm-no_undefined.patch"

CATEGORY="Devel"
SUMMARY="A program transformation language"
DESCRIPTION="Colm is a programming language designed for the analysis and
transformation of computer languages.  Colm is influenced primarily by
TXL.  It is in the family of program transformation languages."

PKG_NAMES="colm libcolm0.13.0.6 libcolm-devel"

colm_CONTENTS="usr/bin/*.exe usr/share"

libcolm0_13_0_6_SUMMARY="${SUMMARY} (runtime)"
libcolm0_13_0_6_CONTENTS="usr/bin/cygcolm-0-13-0-6.dll"

libcolm_devel_SUMMARY="${SUMMARY} (devel)"
libcolm_devel_CONTENTS="usr/include usr/lib"

DIFF_EXCLUDES="defs.h"

src_compile() {
    cd ${S}
    cygautoreconf
    lndirs
    cd ${B}
    cygconf
    cygmake
}

src_install() {
    cd ${B}
    cyginstall
    cd ${S}
    viminto syntax
    dovim colm.vim
    rm -f ${D}/usr/share/doc/colm/colm.vim
}
--- origsrc/colm-0.13.0.6/src/Makefile.am       2018-05-12 12:42:02.000000000 
-0400
+++ src/colm-0.13.0.6/src/Makefile.am   2018-11-14 11:33:23.292559400 -0500
@@ -42,7 +42,7 @@ lib_LTLIBRARIES = libcolm.la
 noinst_LIBRARIES = libprog.a
 
 libcolm_la_SOURCES = $(RUNTIME_SRC)
-libcolm_la_LDFLAGS = -release ${PACKAGE_VERSION}
+libcolm_la_LDFLAGS = -release ${PACKAGE_VERSION} -no-undefined
 
 common_CFLAGS = \
        -Wall \

Reply via email to