wok-6.x view imlib2/receipt @ rev 15822

Up: bind to 9.9.4-P2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 07:30:06 2014 +0000 (2014-01-24)
parents 46a3af621a1d
children 9be2dfe2fe72
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"
13 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
14 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
15 xorg-libICE"
16 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
17 xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config \
18 freetype-dev zlib-dev util-linux-uuid-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --with-x \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin \
37 $fs/usr/lib/imlib2/filters \
38 $fs/usr/lib/imlib2/loaders
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/imlib2/filters/*.so* \
41 $fs/usr/lib/imlib2/filters
42 cp -a $install/usr/lib/imlib2/loaders/*.so* \
43 $fs/usr/lib/imlib2/loaders
44 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
45 }