wok-next diff fbcat/receipt @ rev 20833
prosody: what I see missing when I start the old prosody 0.9.4
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:03:23 2018 +0000 (2018-06-17) |
parents | c4e53a39395a |
children | a3c581bf52b8 |
line diff
1.1 --- a/fbcat/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/fbcat/receipt Sun Jun 17 19:03:23 2018 +0000 1.3 @@ -1,28 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="fbcat" 1.8 VERSION="0.3" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="Takes a screenshot using the framebuffer device." 1.11 +SHORT_DESC="Takes a screenshot using the framebuffer device" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://code.google.com/p/$PACKAGE/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://code.google.com/p/$PACKAGE/" 1.18 -WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL" 1.19 +WGET_URL="https://fbcat.googlecode.com/files/$TARBALL" 1.20 1.21 -SUGGESTED="imagemagick" 1.22 BUILD_DEPENDS="wget" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - make 1.28 +compile_rules() { 1.29 + make || return 1 1.30 + 1.31 + install -Dm755 $src/fbcat $install/usr/bin/fbcat 1.32 + install -Dm755 $src/fbgrab $install/usr/bin/fbgrab 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - mkdir -p $fs/usr/bin 1.39 - cp -a $src/fbcat $fs/usr/bin 1.40 - cp -a $src/fbgrab $fs/usr/bin 1.41 +genpkg_rules() { 1.42 + copy @std 1.43 + SUGGESTED="imagemagick" 1.44 }