diff --git a/Libraries/libtasn1/build b/Libraries/libtasn1/build new file mode 100755 index 0000000..343ae5e --- /dev/null +++ b/Libraries/libtasn1/build @@ -0,0 +1,13 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "https://ftp.gnu.org/gnu/$P/$P-$V.tar.gz" + +# use system gcc to compile +declare -rx CC=gcc + +pbuild::add_to_group 'Libraries' + +pbuild::add_configure_args "--disable-shared" +pbuild::add_configure_args "CFLAGS=-fPIC" + +pbuild::make_all diff --git a/Libraries/libtasn1/files/variants b/Libraries/libtasn1/files/variants new file mode 100644 index 0000000..0d4afdd --- /dev/null +++ b/Libraries/libtasn1/files/variants @@ -0,0 +1 @@ +libtasn1/4.13 unstable diff --git a/Libraries/libtasn1/modulefile b/Libraries/libtasn1/modulefile new file mode 100644 index 0000000..6588af3 --- /dev/null +++ b/Libraries/libtasn1/modulefile @@ -0,0 +1,20 @@ +#%Module1.0 + +module-whatis "ASN.1 library" +module-url "https://www.gnu.org/software/libtasn1/" +module-license "GNU LGPL v2.1" +module-maintainer "Achim Gsell " + +module-help " +Libtasn1 is the ASN.1 library used by GnuTLS, p11-kit and some other +packages. It was originally written by Fabio Fiorina, and now maintained +as a GNU package. + +The goal of this implementation is to be highly portable, and only require +an ANSI C99 platform. + +For status information on what's happening with the package, see the NEWS +file from live sources. +" + +append-path PKG_CONFIG_PATH $PREFIX/lib64/pkgconfig