wok view imlib2/receipt @ rev 8688

Fix bdep: spandsp need intltool to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 18:59:56 2011 +0100 (2011-02-17)
parents 741d74ff5db3
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.4.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Imlib graphic library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
9 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
10 xorg-libICE"
11 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config freetype-dev zlib-dev util-linux-ng-uuid-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
14 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-x \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 mkdir -p $fs/usr/lib/imlib2/filters
37 cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
38 mkdir -p $fs/usr/lib/imlib2/loaders
39 cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
41 cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
42 }