wok rev 22356
Add locustio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 20 21:55:49 2019 +0100 (2019-11-20) |
parents | 298467f745b6 |
children | e4adf1c4fc3a |
files | dmraid/receipt libpng+apng/receipt locustio/receipt |
line diff
1.1 --- a/dmraid/receipt Wed Nov 20 17:45:16 2019 +0100 1.2 +++ b/dmraid/receipt Wed Nov 20 21:55:49 2019 +0100 1.3 @@ -22,7 +22,7 @@ 1.4 grep -qs 'define u8' lib/device/scsi.c || 1.5 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' lib/device/scsi.c 1.6 ./configure $CONFIGURE_ARGS && 1.7 - make 1.8 + make -j 1 1.9 } 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg.
2.1 --- a/libpng+apng/receipt Wed Nov 20 17:45:16 2019 +0100 2.2 +++ b/libpng+apng/receipt Wed Nov 20 21:55:49 2019 +0100 2.3 @@ -25,8 +25,16 @@ 2.4 compile_rules() 2.5 { 2.6 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL 2.7 - gzip -cd $SRC/$PATCH | patch -p0 2.8 + #gzip -cd $SRC/$PATCH | patch -p0 2.9 2.10 + # try to fix apng patch... 2.11 + gzip -cd $SRC/$PATCH > patch.apng 2.12 + for i in $(seq 267 -1 248); do 2.13 + sed -i "s|^\+PNG_EXPORT($i,|+PNG_EXPORT($(($i+2)),|" patch.apng 2.14 + done 2.15 + patch -p0 < patch.apng 2.16 + 2.17 + LIBS=-lrt \ 2.18 ./configure \ 2.19 --prefix=/usr \ 2.20 --disable-static \
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/locustio/receipt Wed Nov 20 21:55:49 2019 +0100 3.3 @@ -0,0 +1,27 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="locustio" 3.7 +VERSION="0.13.2" 3.8 +CATEGORY="misc" 3.9 +SHORT_DESC="Scalable user load testing tool" 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="MIT" 3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.13 +WEB_SITE="https://locust.io/" 3.14 +WGET_URL="https://github.com/locustio/locust/archive/$VERSION.tar.gz" 3.15 +TAGS="python" 3.16 + 3.17 +DEPENDS="python" 3.18 +BUILD_DEPENDS="python" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + python setup.py install --root=$DESTDIR 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + cp -a $install/usr $fs 3.30 +}