wok-6.x view freeimage/receipt @ rev 19372

linux: enable CONFIG_FB_EFI
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 14:31:24 2016 +0200 (2016-08-09)
parents fcdd50638150
children 3705d68ed8f3
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 cd $src
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 }