summaryrefslogtreecommitdiffstats
path: root/package/libmcrypt/libmcrypt.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-01-07 15:12:59 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-13 21:28:59 +0100
commiteddffaad60357d738550bb832acb419c1452e633 (patch)
tree759e0021ae63ccb18c570d86ae3c6a44d1d30f9b /package/libmcrypt/libmcrypt.mk
parent8a029d7fc90387a66b64feb543696de4b9b19a24 (diff)
downloadbuildroot-novena-eddffaad60357d738550bb832acb419c1452e633.tar.gz
buildroot-novena-eddffaad60357d738550bb832acb419c1452e633.zip
libmcrypt: new package
[Peter: Do libmcrypt-config fixup in single pass] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libmcrypt/libmcrypt.mk')
-rw-r--r--package/libmcrypt/libmcrypt.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libmcrypt/libmcrypt.mk b/package/libmcrypt/libmcrypt.mk
new file mode 100644
index 000000000..a03c89202
--- /dev/null
+++ b/package/libmcrypt/libmcrypt.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# libmcrypt
+#
+#############################################################
+
+LIBMCRYPT_VERSION = 2.5.8
+LIBMCRYPT_SITE = http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$(LIBMCRYPT_VERSION)
+LIBMCRYPT_AUTORECONF = YES
+LIBMCRYPT_INSTALL_STAGING = YES
+LIBMCRYPT_LICENSE = LGPLv2.1
+LIBMCRYPT_LICENSE_FILES = COPYING.LIB
+
+define LIBMCRYPT_STAGING_LIBMCRYPT_CONFIG_FIXUP
+ $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
+ -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
+ $(STAGING_DIR)/usr/bin/libmcrypt-config
+endef
+
+LIBMCRYPT_POST_INSTALL_STAGING_HOOKS += LIBMCRYPT_STAGING_LIBMCRYPT_CONFIG_FIXUP
+
+$(eval $(autotools-package))