wok view freeimage/receipt @ rev 22215
updated xorg-libXfont and xorg-libXfont-dev (1.4.5 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 16:18:32 2019 +0100 (2019-11-11) |
parents | 3705d68ed8f3 |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeimage"
4 VERSION="3.18.0"
5 CATEGORY="graphics"
6 SHORT_DESC="library to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="FreeImage"
10 TARBALL="$SOURCE${VERSION//./}.zip"
11 WEB_SITE="http://freeimage.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="gcc-lib-base"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|uname -m|echo i486|' Makefile.*
21 patch -Np1 -i $stuff/gcc4.5_ln.patch
22 pkgdir=$DESTDIR
23 incl=$pkgdir/usr/include
24 dest=$pkgdir/usr/lib
25 install -d $dest
26 install -d $incl
27 sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
28 sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
29 sed -e "s|ldconfig||g" -i Makefile.gnu
30 make &&
31 make DESTDIR=$pkgdir install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }