wok view imlib2/receipt @ rev 5781
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 09:37:09 2010 +0200 (2010-07-10) |
parents | d4b11bc7b0e1 |
children | 741d74ff5db3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.4.0"
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 xorg-libXpm-dev xorg-xextproto id3lib-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 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 mkdir -p $fs/usr/lib/imlib2/filters
36 cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
37 mkdir -p $fs/usr/lib/imlib2/loaders
38 cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
40 cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
41 }