wok view transfig/receipt @ rev 19719

transfig: update for libpng >= 1.4.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 10:08:24 2017 +0100 (2017-02-16)
parents 23c3aed67cd9
children 416babe74368
line source
1 # SliTaz package receipt.
3 PACKAGE="transfig"
4 VERSION="3.2.5d"
5 CATEGORY="x-window"
6 SHORT_DESC="Utilities for converting XFig figure files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE.$VERSION.tar.gz"
10 WEB_SITE="http://www.xfig.org/"
11 WGET_URL="http://downloads.sourceforge.net/mcj/$TARBALL"
13 DEPENDS="xorg xorg-libXpm libpng zlib"
14 BUILD_DEPENDS="xorg-imake xorg-libXpm-dev libpng-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/png_set_dither/png_set_quantize/' fig2dev/dev/readpng.c
20 sed -i 's|/usr/local|/usr|' */*akefile
21 xmkmf &&
22 make Makefiles &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }