wok-current view freeimage/receipt @ rev 15068

Up babl-dev, cookutils-daemon, frogatto-data, kmod-dev, libbonoboui-dev, libcomerr3, libcurl, libexo-dev, libpurple-dev, nagios-plugins-mysql, net6-dev, netatalk-dev, php-cups, pygobject-dev, remmina-dev, ruby-enterprise-doc, shutter-bug, ssfs-server, xfi, xfw, xine-fonts, xorg-server-Xvfb according the wanted their package versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 13:22:54 2013 +0000 (2013-08-13)
parents 7c8f68728439
children fcdd50638150
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 DEPENDS="gcc-lib-base"
9 BUILD_DEPENDS="gcc-lib-base"
10 SOURCE="FreeImage"
11 TARBALL="$SOURCE$VERSION.zip"
12 WEB_SITE="http://freeimage.sourceforge.net/"
13 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/gcc4.5_ln.patch
20 pkgdir=$PWD/_pkg
21 incl=$pkgdir/usr/include
22 dest=$pkgdir/usr/lib
23 install -d $dest
24 install -d $incl
25 sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
26 sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
27 sed -e "s|ldconfig||g" -i Makefile.gnu
28 make &&
29 make DESTDIR=$pkgdir install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }