wok-current view imlib2/receipt @ rev 10361
gtk+: make it build so we can follow with all gtk apps on Tank (no cross)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 01:01:19 2011 +0200 (2011-05-23) |
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 }