wok-current view imlib2/receipt @ rev 13245
Move from undigest: turses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:29 2012 +0200 (2012-08-14) |
parents | 26415f5f6a72 |
children | 46a3af621a1d |
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-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 }