wok-6.x annotate ploticus/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | e97c81ccdba0 |
children | e7c057e9eeda |
rev | line source |
---|---|
pascal@1609 | 1 # SliTaz package receipt. |
pascal@1609 | 2 |
pascal@1609 | 3 PACKAGE="ploticus" |
pascal@1609 | 4 VERSION="2.40" |
pascal@1609 | 5 CATEGORY="misc" |
pascal@1609 | 6 SHORT_DESC="Data display engine." |
pascal@1609 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15089 | 8 LICENSE="GPL" |
pascal@1609 | 9 SOURCE="pl240src" |
pascal@1609 | 10 TARBALL="$SOURCE.tar.gz" |
pascal@1609 | 11 WEB_SITE="http://ploticus.sourceforge.net/" |
pascal@1609 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15089 | 13 |
pascal@2608 | 14 DEPENDS="zlib xorg libpng" |
pascal@15089 | 15 BUILD_DEPENDS="zlib-dev xorg-dev libpng-dev" |
pascal@1609 | 16 |
pascal@1609 | 17 # Rules to configure and make the package. |
pascal@1609 | 18 compile_rules() |
pascal@1609 | 19 { |
pascal@1609 | 20 cd $src/src |
pascal@1609 | 21 make || return 1 |
pascal@15089 | 22 mkdir -p $DESTDIR/usr/bin |
pascal@15089 | 23 cp pl $DESTDIR/usr/bin |
pascal@1609 | 24 } |
pascal@1609 | 25 |
pascal@1609 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1609 | 27 genpkg_rules() |
pascal@1609 | 28 { |
pascal@15089 | 29 cp -a $install/usr $fs |
pascal@1609 | 30 } |
pascal@1609 | 31 |