wok-next view imlib2/receipt @ rev 6615

Up: imlib2, imlib2-dev to 1.4.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 20:29:32 2010 +0000 (2010-10-09)
parents 8d3f3ded1725
children 26415f5f6a72
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 $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 }