# dumpasn1.cygport NAME="dumpasn1" VERSION=20210212 RELEASE=1 SUMMARY="ASN.1 object dump program" DESCRIPTION="An ASN.1 object dump program which will dump data encoded using any of the ASN.1 encoding rules in a variety of user-specified formats. dumpasn1 employs a user-editable configuration file dumpasn1.cfg which provides information on ASN.1 object identifiers. Currently it covers all known security-related OIDs." CATEGORY="Utils" HOMEPAGE="https://www.cs.auckland.ac.nz/~pgut001/" SRC_URI="http://deb.debian.org/debian/pool/main/d/dumpasn1/dumpasn1_${VERSION}.orig.tar.gz" SRC_DIR="dumpasn1-${VERSION}" BUILD_REQUIRES="" REQUIRES="" PKG_NAMES="dumpasn1" src_compile() { lndirs cd ${B} ${CC} dumpasn1.c -o dumpasn1 } src_install() { cd ${B} mkdir -p ${D}/usr/bin/ cp dumpasn1 ${D}/usr/bin/ mkdir -p ${D}/etc/dumpasn1 cp dumpasn1.cfg ${D}/etc/dumpasn1/ }