wok-6.x rev 14901
Add python-magic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:54:19 2013 +0200 (2013-07-31) |
parents | 5b675e7d91c1 |
children | aef7f0994585 |
files | file/receipt firmware-mod-kit/receipt python-magic/receipt |
line diff
1.1 --- a/file/receipt Wed Jul 31 11:20:11 2013 +0200 1.2 +++ b/file/receipt Wed Jul 31 11:54:19 2013 +0200 1.3 @@ -11,7 +11,7 @@ 1.4 HOST_ARCH="i486 arm" 1.5 1.6 DEPENDS="zlib libmagic" 1.7 -BUILD_DEPENDS="zlib-dev" 1.8 +BUILD_DEPENDS="zlib-dev python" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 @@ -20,7 +20,10 @@ 1.13 ./configure \ 1.14 --datarootdir=/usr/share \ 1.15 $CONFIGURE_ARGS && 1.16 - make && make install 1.17 + make && make install && 1.18 + cd python && 1.19 + python setup.py build && 1.20 + python setup.py install --root=$DESTDIR 1.21 } 1.22 1.23 # Rules to gen a SliTaz package suitable for Tazpkg.
2.1 --- a/firmware-mod-kit/receipt Wed Jul 31 11:20:11 2013 +0200 2.2 +++ b/firmware-mod-kit/receipt Wed Jul 31 11:54:19 2013 +0200 2.3 @@ -9,7 +9,7 @@ 2.4 WEB_SITE="http://code.google.com/p/$PACKAGE/" 2.5 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 2.6 2.7 -DEPENDS="liblzma zlib bash" 2.8 +DEPENDS="liblzma zlib bash python-magic" 2.9 BUILD_DEPENDS="liblzma-dev zlib-dev" 2.10 2.11 # Rules to configure and make the package.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-magic/receipt Wed Jul 31 11:54:19 2013 +0200 3.3 @@ -0,0 +1,18 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="python-magic" 3.7 +VERSION="5.14" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Retrieve file type." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +WEB_SITE="http://www.darwinsys.com/file/" 3.12 +WANTED="file" 3.13 + 3.14 +DEPENDS="file python" 3.15 + 3.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.17 +genpkg_rules() 3.18 +{ 3.19 + mkdir -p $fs/usr/lib 3.20 + cp -a $install/usr/lib/python* $fs/usr/lib 3.21 +}