# HG changeset patch # User Pascal Bellard # Date 1375264459 -7200 # Node ID 1af9999261096679ea305f553ab3444f74032d67 # Parent 5b675e7d91c1b2cf3992ff0ff09fc55fe2682834 Add python-magic diff -r 5b675e7d91c1 -r 1af999926109 file/receipt --- a/file/receipt Wed Jul 31 11:20:11 2013 +0200 +++ b/file/receipt Wed Jul 31 11:54:19 2013 +0200 @@ -11,7 +11,7 @@ HOST_ARCH="i486 arm" DEPENDS="zlib libmagic" -BUILD_DEPENDS="zlib-dev" +BUILD_DEPENDS="zlib-dev python" # Rules to configure and make the package. compile_rules() @@ -20,7 +20,10 @@ ./configure \ --datarootdir=/usr/share \ $CONFIGURE_ARGS && - make && make install + make && make install && + cd python && + python setup.py build && + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 5b675e7d91c1 -r 1af999926109 firmware-mod-kit/receipt --- a/firmware-mod-kit/receipt Wed Jul 31 11:20:11 2013 +0200 +++ b/firmware-mod-kit/receipt Wed Jul 31 11:54:19 2013 +0200 @@ -9,7 +9,7 @@ WEB_SITE="http://code.google.com/p/$PACKAGE/" WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" -DEPENDS="liblzma zlib bash" +DEPENDS="liblzma zlib bash python-magic" BUILD_DEPENDS="liblzma-dev zlib-dev" # Rules to configure and make the package. diff -r 5b675e7d91c1 -r 1af999926109 python-magic/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-magic/receipt Wed Jul 31 11:54:19 2013 +0200 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="python-magic" +VERSION="5.14" +CATEGORY="development" +SHORT_DESC="Retrieve file type." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.darwinsys.com/file/" +WANTED="file" + +DEPENDS="file python" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/python* $fs/usr/lib +}