wok view freeimage/receipt @ rev 6498
Up: libv4l, libv4l-dev to 0.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 01 04:09:43 2010 +0000 (2010-10-01) |
parents | e9042e5ad4b6 |
children | c194790b4277 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeimage"
4 VERSION="3110"
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 $SOURCE
19 pkgdir=$PWD/_pkg
20 incl=$pkgdir/usr/include
21 dest=$pkgdir/usr/lib
22 install -d $dest
23 install -d $incl
24 sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
25 sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
26 sed -e "s|ldconfig||g" -i Makefile.gnu
27 make &&
28 make DESTDIR=$pkgdir install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 pkgdir=$PWD/$SOURCE/_pkg
36 cp -a $pkgdir/usr/lib/*.so* $fs/usr/lib
38 }