wok-next diff ploticus/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | dd145c435e4b |
children | 5669e8b3be70 |
line diff
1.1 --- a/ploticus/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/ploticus/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,31 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ploticus" 1.8 VERSION="2.42" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="Data display engine." 1.11 +SHORT_DESC="Data display engine" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL" 1.14 -SOURCE="ploticus${VERSION/./}_src" 1.15 -TARBALL="$SOURCE.tar.gz" 1.16 WEB_SITE="http://ploticus.sourceforge.net/" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 1.18 1.19 -DEPENDS="zlib xorg libpng16" 1.20 +TARBALL="ploticus${VERSION/./}_src.tar.gz" 1.21 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.22 + 1.23 BUILD_DEPENDS="zlib-dev xorg-dev libpng16-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 cd $src/src 1.30 - make || return 1 1.31 - mkdir -p $DESTDIR/usr/bin 1.32 - cp pl $DESTDIR/usr/bin 1.33 + make && 1.34 + install -Dm755 pl $install/usr/bin/pl 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - cp -a $install/usr $fs 1.41 +genpkg_rules() { 1.42 + copy @std 1.43 + DEPENDS="zlib xorg libpng16" 1.44 } 1.45 -