wok-next view imlib2/receipt @ rev 20671

qemu, qemu-light: define prefix
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:51:17 2018 +0300 (2018-05-11)
parents 0e7893ac206d
children e7a485521d6a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="imlib2"
4 VERSION="1.4.9"
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 && make install || return 1
28 cook_pick_docs doc/*.gif doc/index.html
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 imlib2)
34 copy *.so* imlib2_conv imlib2_grab imlib2_view
35 DEPENDS="bzlib freetype giflib libid3tag libjpeg-turbo libpng16 \
36 tiff xorg-libX11 xorg-libXext zlib"
37 ;;
38 imlib2-test)
39 copy @std @rm
40 CAT="development|testing utilities"
41 DEPENDS="imlib2 xorg-libX11"
42 ;;
43 imlib2-dev)
44 copy @dev
45 ;;
46 esac
47 }