# HG changeset patch # User Pascal Bellard # Date 1574283349 -3600 # Node ID a54924df72eb910fa7c43564ff27a3b280784aee # Parent 298467f745b65abebfc7aefbe3b65269673c42c9 Add locustio diff -r 298467f745b6 -r a54924df72eb dmraid/receipt --- a/dmraid/receipt Wed Nov 20 17:45:16 2019 +0100 +++ b/dmraid/receipt Wed Nov 20 21:55:49 2019 +0100 @@ -22,7 +22,7 @@ grep -qs 'define u8' lib/device/scsi.c || sed -i 's|#include |#define u8 __u8\n&|' lib/device/scsi.c ./configure $CONFIGURE_ARGS && - make + make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 298467f745b6 -r a54924df72eb libpng+apng/receipt --- a/libpng+apng/receipt Wed Nov 20 17:45:16 2019 +0100 +++ b/libpng+apng/receipt Wed Nov 20 21:55:49 2019 +0100 @@ -25,8 +25,16 @@ compile_rules() { [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL - gzip -cd $SRC/$PATCH | patch -p0 + #gzip -cd $SRC/$PATCH | patch -p0 + # try to fix apng patch... + gzip -cd $SRC/$PATCH > patch.apng + for i in $(seq 267 -1 248); do + sed -i "s|^\+PNG_EXPORT($i,|+PNG_EXPORT($(($i+2)),|" patch.apng + done + patch -p0 < patch.apng + + LIBS=-lrt \ ./configure \ --prefix=/usr \ --disable-static \ diff -r 298467f745b6 -r a54924df72eb locustio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locustio/receipt Wed Nov 20 21:55:49 2019 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="locustio" +VERSION="0.13.2" +CATEGORY="misc" +SHORT_DESC="Scalable user load testing tool" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://locust.io/" +WGET_URL="https://github.com/locustio/locust/archive/$VERSION.tar.gz" +TAGS="python" + +DEPENDS="python" +BUILD_DEPENDS="python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}