wok view freeimage/receipt @ rev 20355

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 09 17:09:08 2018 +0200 (2018-06-09)
parents ee5c8b018b62
children 826c1bab582b
line source
1 # SliTaz package receipt.
3 PACKAGE="freeimage"
4 VERSION="3141"
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 }