wok view imlib2/receipt @ rev 18783

syslinux: set tz command line argument
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 03 13:17:18 2016 +0100 (2016-01-03)
parents 8417cbe6fdae
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.4.6"
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 sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin \
41 $fs/usr/lib/imlib2/filters \
42 $fs/usr/lib/imlib2/loaders
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/imlib2/filters/*.so* \
45 $fs/usr/lib/imlib2/filters
46 cp -a $install/usr/lib/imlib2/loaders/*.so* \
47 $fs/usr/lib/imlib2/loaders
48 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
49 }