summaryrefslogtreecommitdiff
path: root/package/libtasn1
diff options
context:
space:
mode:
Diffstat (limited to 'package/libtasn1')
-rw-r--r--package/libtasn1/Config.in9
-rw-r--r--package/libtasn1/Makefile30
-rw-r--r--package/libtasn1/ipkg/libtasn1.control4
-rw-r--r--package/libtasn1/patches/patch-configure14
4 files changed, 57 insertions, 0 deletions
diff --git a/package/libtasn1/Config.in b/package/libtasn1/Config.in
new file mode 100644
index 000000000..b84efff17
--- /dev/null
+++ b/package/libtasn1/Config.in
@@ -0,0 +1,9 @@
+config ADK_PACKAGE_LIBTASN1
+ prompt "libtasn1.......................... An ASN.1 and DER structures manipulation library"
+ tristate
+ default n
+ help
+ This is a library for Abstract Syntax Notation One (ASN.1) and
+ Distinguish Encoding Rules (DER) manipulation.
+
+ ftp://ftp.gnutls.org/pub/gnutls/libtasn1/
diff --git a/package/libtasn1/Makefile b/package/libtasn1/Makefile
new file mode 100644
index 000000000..dbb3b7e61
--- /dev/null
+++ b/package/libtasn1/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libtasn1
+PKG_VERSION:= 1.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 93b43cc5013bda4d8bf64508f1566c54
+MASTER_SITES:= ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
+ ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/libtasn1/ \
+ http://www.mirrors.wiretapped.net/security/network-securitygnutls/libtasn1/ \
+ ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1/ \
+ http://josefsson.org/gnutls/releases/libtasn1/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBTASN1,libtasn1,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBTASN1}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libtasn1.so.* ${IDIR_LIBTASN1}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtasn1/ipkg/libtasn1.control b/package/libtasn1/ipkg/libtasn1.control
new file mode 100644
index 000000000..4a5c1f6f3
--- /dev/null
+++ b/package/libtasn1/ipkg/libtasn1.control
@@ -0,0 +1,4 @@
+Package: libtasn1
+Priority: optional
+Section: libs
+Description: an ASN.1 and DER structures manipulation library
diff --git a/package/libtasn1/patches/patch-configure b/package/libtasn1/patches/patch-configure
new file mode 100644
index 000000000..7b8e25cd5
--- /dev/null
+++ b/package/libtasn1/patches/patch-configure
@@ -0,0 +1,14 @@
+$Id$
+--- libtasn1-1.1.orig/configure Fri Aug 31 15:17:55 2007
++++ libtasn1-1.1/configure Thu Sep 6 15:24:25 2007
+@@ -23445,8 +23445,8 @@ echo "${ECHO_T}$gl_cv_next_unistd_h" >&6
+
+
+ # For libtasn1-config.
+-LIBTASN1_LIBS="-L${libdir} -ltasn1 $LIBS"
+-LIBTASN1_CFLAGS="-I${includedir}"
++LIBTASN1_LIBS="-ltasn1 $LIBS"
++LIBTASN1_CFLAGS=
+
+
+ ac_config_commands="$ac_config_commands chmod"