package/python-pycrypto: fix legal-info
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 23 Dec 2013 17:39:48 +0000 (18:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Dec 2013 09:08:45 +0000 (10:08 +0100)
commit441579d61391f2f395b9fc5928354f0a4418d4d4
tree62156ce99409d97a7b75ef0eb65dccc0d62aadc8
parent0a353bf26b2fd1bb0023f5605fc8cf3c130b23e0
package/python-pycrypto: fix legal-info

The pycrypto package contains a LICENSE.orig file, but apply-patches.sh
removes all .orig file, so we can't list a .orig file asa license file,
as it would have disapeared by the time 'make legal-info' sould be called.

Add a post-extract hook that renames this license file, so it is renamed
just before we apply patches and remove .orig files.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pycrypto/python-pycrypto.mk