summaryrefslogtreecommitdiffstats
path: root/abs/core/libmcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libmcrypt')
-rw-r--r--abs/core/libmcrypt/PKGBUILD22
-rw-r--r--abs/core/libmcrypt/aclocal-fixes.patch11
2 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/libmcrypt/PKGBUILD b/abs/core/libmcrypt/PKGBUILD
new file mode 100644
index 0000000..bdacb84
--- /dev/null
+++ b/abs/core/libmcrypt/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=libmcrypt
+pkgver=2.5.8
+pkgrel=1
+pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('glibc')
+options=('!libtool')
+source=(http://heanet.dl.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2)
+url="http://mcrypt.sourceforge.net/"
+md5sums=('c4f491dd411a09e9de3b8702ea6f73eb')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=${startdir}/pkg install
+}
diff --git a/abs/core/libmcrypt/aclocal-fixes.patch b/abs/core/libmcrypt/aclocal-fixes.patch
new file mode 100644
index 0000000..f001a18
--- /dev/null
+++ b/abs/core/libmcrypt/aclocal-fixes.patch
@@ -0,0 +1,11 @@
+--- lib/libmcrypt.m4.orig 2006-03-05 13:47:22.000000000 +0000
++++ lib/libmcrypt.m4 2006-03-05 13:47:39.000000000 +0000
+@@ -14,7 +14,7 @@
+ dnl AM_PATH_LIBMCRYPT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
+ dnl Test for libmcrypt, and define LIBMCRYPT_CFLAGS and LIBMCRYPT_LIBS
+ dnl
+-AC_DEFUN(AM_PATH_LIBMCRYPT,
++AC_DEFUN([AM_PATH_LIBMCRYPT],
+ [dnl
+ dnl Get the cflags and libraries from the libmcrypt-config script
+ dnl