# HG changeset patch # User Pascal Bellard # Date 1380647766 0 # Node ID 6ed98834e3ebfa593f7120a8a1c43ec5a3fd04d4 # Parent d00dea30a0c916d18a0a8732e369a406183099fa python-numpy: hide conftest.c errors diff -r d00dea30a0c9 -r 6ed98834e3eb python-numpy/receipt --- a/python-numpy/receipt Tue Oct 01 16:47:11 2013 +0000 +++ b/python-numpy/receipt Tue Oct 01 17:16:06 2013 +0000 @@ -6,9 +6,11 @@ CATEGORY="development" SHORT_DESC="scientific computing library for the Python." MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://numpy.scipy.org/" WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" + DEPENDS="python" BUILD_DEPENDS="python python-dev" @@ -16,14 +18,16 @@ compile_rules() { cd $src + { python setup.py build && - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR + } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $_pkg/usr $fs + cp -a $install/usr $fs } # Remove old package. diff -r d00dea30a0c9 -r 6ed98834e3eb tuxmath/receipt --- a/tuxmath/receipt Tue Oct 01 16:47:11 2013 +0000 +++ b/tuxmath/receipt Tue Oct 01 17:16:06 2013 +0000 @@ -6,6 +6,7 @@ CATEGORY="games" SHORT_DESC="Arcade game that helps kids practice their math facts." MAINTAINER="claudinei@slitaz.org" +LICENSE="GPL3" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://tux4kids.alioth.debian.org" WGET_URL="https://alioth.debian.org/frs/download.php/3571/$TARBALL" @@ -25,19 +26,19 @@ --prefix=/usr \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share/tuxmath $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/tuxmath $fs/usr/share for lang in de es fr pt_BR zh_CN; do mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES - cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \ + cp -a $install/usr/share/locale/$lang/LC_MESSAGES/tuxmath.mo \ $fs/usr/share/locale/$lang/LC_MESSAGES done }