wok-next view imlib2/receipt @ rev 15588
arj: ugly ack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 16:43:36 2013 +0000 (2013-12-02) |
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 }