From 7678d786890f3188bfff96fccdfb604999e215fa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 20 Aug 2013 09:03:02 +0200 Subject: [PATCH] New package: libmcrypt-2.5.8. --- common/shlibs | 1 + srcpkgs/libmcrypt-devel | 1 + srcpkgs/libmcrypt/template | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 120000 srcpkgs/libmcrypt-devel create mode 100644 srcpkgs/libmcrypt/template diff --git a/common/shlibs b/common/shlibs index 04336b03ad2..5134c4a499a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1400,3 +1400,4 @@ libcpupower.so.0 libcpupower-3.10_1 librsync.so.1 librsync-0.9.7_1 libserf-1.so.3 serf-1.3.1_1 libmpdclient.so.2 libmpdclient-0.28_1 +libmcrypt.so.4 libmcrypt-2.5.8_1 diff --git a/srcpkgs/libmcrypt-devel b/srcpkgs/libmcrypt-devel new file mode 120000 index 00000000000..14f36486751 --- /dev/null +++ b/srcpkgs/libmcrypt-devel @@ -0,0 +1 @@ +libmcrypt \ No newline at end of file diff --git a/srcpkgs/libmcrypt/template b/srcpkgs/libmcrypt/template new file mode 100644 index 00000000000..a6b139a19ba --- /dev/null +++ b/srcpkgs/libmcrypt/template @@ -0,0 +1,35 @@ +# Template file for 'libmcrypt' +pkgname=libmcrypt +version=2.5.8 +revision=1 +build_style=gnu-configure +short_desc="A data encryption library" +maintainer="Juan RP " +license="GPL-2" +homepage="http://mcrypt.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/mcrypt/$pkgname-$version.tar.bz2" +checksum=bf2f1671f44af88e66477db0982d5ecb5116a5c767b0a0d68acb34499d41b793 +long_desc=" + libmcrypt is a data encryption library. The library is thread safe + and provides encryption and decryption functions. This version of the + library supports many encryption algorithms and encryption modes. Some + algorithms which are supported: + SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2, XTEA, 3WAY, + TWOFISH, BLOWFISH, ARCFOUR, WAKE and more" + +libmcrypt-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/bin + vmove usr/share + } +} + +libmcrypt_package() { + pkg_install() { + vmove usr + } +}