wok-next diff zerobin/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 9e01bc6321ea |
children | c4e53a39395a |
line diff
1.1 --- a/zerobin/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/zerobin/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="zerobin" 1.7 -VERSION="0.18_alpha" 1.8 +GITHASH="8cae64d6eab99fb0d31868df77846285c0958ed0" # 6 feb 2014 1.9 +VERSION="${GITHASH:0:7}" 1.10 CATEGORY="network" 1.11 SHORT_DESC="Online pastebin where the server has zero knowledge of pasted data." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="zlib/libpng" 1.14 -TARBALL="${PACKAGE}_$VERSION.zip" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:zerobin" 1.17 -WGET_URL="http://sebsauvage.net/files/$TARBALL" 1.18 +WGET_URL="https://github.com/sebsauvage/ZeroBin/archive/$VERSION.tar.gz" 1.19 HOST_ARCH="any" 1.20 1.21 DEPENDS="php" 1.22 @@ -17,9 +18,7 @@ 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 patch -p0 < $stuff/zerobin.u 1.28 - find css js lib tpl -type f | xargs dos2unix *.* 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg.