Patchwork [meta-oe] libmcrypt: add 2.5.8

login
register
mail settings
Submitter Marcin Juszkiewicz
Date March 25, 2013, 1:46 p.m.
Message ID <1364219168-27880-1-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/46851/
State Superseded, archived
Headers show

Comments

Marcin Juszkiewicz - March 25, 2013, 1:46 p.m.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../recipes-support/libmcrypt/libmcrypt_2.5.8.bb   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
Khem Raj - March 26, 2013, 6:06 a.m.
On Mar 25, 2013, at 6:46 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:

> +do_configure() {
> +	gnu-configize --force
> +#	libtoolize --force --copy
> +	autoconf
> +	oe_runconf
> +}


can we avoid above ?

Patch

diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
new file mode 100644
index 0000000..0cbe189
--- /dev/null
+++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
@@ -0,0 +1,22 @@ 
+DESCRIPTION = "Replacement for the old crypt() package and crypt(1) command, with extensions."
+HOMEPAGE = "http://mcrypt.sourceforge.net/"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da"
+SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e"
+
+inherit autotools gettext binconfig
+
+do_configure() {
+	gnu-configize --force
+#	libtoolize --force --copy
+	autoconf
+	oe_runconf
+}
+
+do_install_append() {
+	rm ${D}${libdir}/libmcrypt -r
+}