wok-next view imlib2/receipt @ rev 20905

Update packages from ISO and LFS backages (all but toolchain)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 07 00:30:45 2018 +0300 (2018-08-07)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="imlib2"
4 VERSION="1.5.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Imlib2 graphic library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL LGPL2"
9 WEB_SITE="https://sourceforge.net/projects/enlightenment/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
14 BUILD_DEPENDS="freetype-dev xorg-libX11-dev xorg-libICE-dev libjpeg-turbo-dev \
15 tiff-dev giflib-dev libid3tag-dev xorg-libXext-dev xz-dev"
16 SPLIT="imlib2-test imlib2-dev"
18 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
19 # be modified manually
21 compile_rules() {
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 cook_pick_docs doc/*.gif doc/index.html
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 imlib2)
35 copy *.so* imlib2_conv imlib2_grab imlib2_view
36 DEPENDS="bzlib freetype giflib libid3tag libjpeg-turbo libpng16 \
37 tiff xorg-libX11 xorg-libXext zlib"
38 ;;
39 imlib2-test)
40 copy @std @rm
41 CAT="development|testing utilities"
42 DEPENDS="imlib2 xorg-libX11"
43 ;;
44 imlib2-dev)
45 copy @dev
46 ;;
47 esac
48 }