wok-next diff asciiquarium/receipt @ rev 20573

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 17:21:19 2018 +0300 (2018-04-13)
parents f4c22f009037
children a3c581bf52b8
line diff
     1.1 --- a/asciiquarium/receipt	Sat Sep 07 18:25:02 2013 +0000
     1.2 +++ b/asciiquarium/receipt	Fri Apr 13 17:21:19 2018 +0300
     1.3 @@ -1,31 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="asciiquarium"
     1.8  VERSION="1.0"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Text console screensaver."
    1.11 +SHORT_DESC="Text console screensaver"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.robobunny.com/projects/$PACKAGE/html/"
    1.15 +
    1.16  TARBALL="${PACKAGE}_${VERSION}.tar.gz"
    1.17  WGET_URL="http://www.robobunny.com/projects/$PACKAGE/$TARBALL"
    1.18 -TAGS="screensaver"
    1.19  
    1.20 -DEPENDS="perl-animation perl-curses"
    1.21 +compile_rules() {
    1.22 +	mv ${PACKAGE}_${VERSION} $src 2>/dev/null
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	mv ${PACKAGE}_${VERSION} $src 2> /dev/null
    1.28 -	return 0
    1.29 +	install -Dm755 $src/asciiquarium $install/usr/bin/asciiquarium
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/bin
    1.36 -	cp -a $src/asciiquarium $fs/usr/bin
    1.37 -	chmod a+x $fs/usr/bin/asciiquarium
    1.38 -	chown -R root:root $fs
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="perl-animation perl-curses"
    1.42 +	TAGS="screensaver"
    1.43  }
    1.44 -