wok-next view imlib2/receipt @ rev 14801

915resolution: fix license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 16 08:55:30 2013 +0200 (2013-07-16)
parents 73641efed1cc
children 7bb096863642
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.4.5"
5 CATEGORY="graphics"
6 SHORT_DESC="Imlib graphic library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
10 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
12 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
13 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
14 xorg-libICE"
15 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
16 xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config \
17 freetype-dev zlib-dev util-linux-uuid-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --with-x \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin \
36 $fs/usr/lib/imlib2/filters \
37 $fs/usr/lib/imlib2/loaders
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/imlib2/filters/*.so* \
40 $fs/usr/lib/imlib2/filters
41 cp -a $install/usr/lib/imlib2/loaders/*.so* \
42 $fs/usr/lib/imlib2/loaders
43 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
44 }