wok-next view imlib2/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children 75632eca5b07
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="devel@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 libx11-dev libice-dev libjpeg-turbo-dev \
15 tiff-dev giflib-dev libid3tag-dev libxext-dev xz-dev"
16 SPLIT="$PACKAGE-test $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 cook_pick_docs doc/*.gif doc/index.html
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 imlib2)
32 copy *.so* imlib2_conv imlib2_grab imlib2_view
33 DEPENDS="bzlib freetype giflib libid3tag libjpeg-turbo libpng \
34 tiff libx11 libxext zlib"
35 ;;
36 imlib2-test)
37 copy @std @rm
38 CAT="development|testing utilities"
39 DEPENDS="imlib2 libx11"
40 ;;
41 imlib2-dev)
42 copy @dev
43 ;;
44 esac
45 }