wok-current view imlib2/receipt @ rev 22947

updated imlib2 and imlib2-dev (1.5.1 -> 1.6.1)
author Hans-G?nter Theisgen
date Fri Feb 28 13:50:29 2020 +0100 (2020-02-28)
parents 0015dedd2f15
children 8b04d03f832f
line source
1 # SliTaz package receipt.
3 PACKAGE="imlib2"
4 VERSION="1.6.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Imlib graphic library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL LGPL2"
9 WEB_SITE="https://sourceforge.net/projects/enlightenment/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
14 DEPENDS="bzlib freetype giflib jpeg libid3tag libpng tiff \
15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
16 xorg-libXdmcp xorg-libXext xorg-libXpm"
17 BUILD_DEPENDS="bzip2-dev freetype-dev giflib-dev jpeg-dev \
18 libid3tag-dev libpng-dev pkg-config tiff-dev \
19 util-linux-uuid-dev xorg-libXpm-dev xorg-xextproto \
20 zlib-dev"
22 HOST_ARCH="i486 arm"
23 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
24 # be modified manually
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --with-x \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install
38 sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/bin
45 mkdir -p $fs/usr/lib/imlib2/filters
46 mkdir -p $fs/usr/lib/imlib2/loaders
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/imlib2/filters/*.so* \
50 $fs/usr/lib/imlib2/filters
51 cp -a $install/usr/lib/imlib2/loaders/*.so* \
52 $fs/usr/lib/imlib2/loaders
53 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
54 }