wok view imlib2/receipt @ rev 3437

mc: dont use cvs version (dont build)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 17:08:02 2009 +0200 (2009-06-13)
parents 7113ff576422
children 8d3f3ded1725
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"
10 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev xorg-libXpm-dev xorg-xextproto id3lib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
13 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/imlib2 $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 mkdir -p $fs/usr/lib/imlib2/filters
35 cp -a $_pkg/usr/lib/imlib2/filters/*.so* $fs/usr/lib/imlib2/filters
36 mkdir -p $fs/usr/lib/imlib2/loaders
37 cp -a $_pkg/usr/lib/imlib2/loaders/*.so* $fs/usr/lib/imlib2/loaders
39 cp -a $_pkg/usr/bin/imlib2_* $fs/usr/bin
40 }