wok-current view imlib2/receipt @ rev 16291

Fix pathon version from last commit
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 07 00:16:55 2014 +0200 (2014-04-07)
parents 7bb096863642
children 84a7b4b83777
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 LICENSE="GPL LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
11 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
16 xorg-libICE"
17 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
18 xorg-libXpm-dev xorg-xextproto libid3tag-dev pkg-config freetype-dev \
19 zlib-dev util-linux-uuid-dev"
21 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
22 # be modified manually
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --with-x \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin \
40 $fs/usr/lib/imlib2/filters \
41 $fs/usr/lib/imlib2/loaders
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/imlib2/filters/*.so* \
44 $fs/usr/lib/imlib2/filters
45 cp -a $install/usr/lib/imlib2/loaders/*.so* \
46 $fs/usr/lib/imlib2/loaders
47 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
48 }