wok-next view ploticus/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 8907e670e716
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="ploticus"
4 VERSION="2.42"
5 CATEGORY="misc"
6 SHORT_DESC="Data display engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="ploticus${VERSION/./}_src"
10 TARBALL="$SOURCE.tar.gz"
11 WEB_SITE="http://ploticus.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="zlib xorg libpng16"
15 BUILD_DEPENDS="zlib-dev xorg-dev libpng16-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 make || return 1
22 mkdir -p $DESTDIR/usr/bin
23 cp pl $DESTDIR/usr/bin
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }