wok-next view imlib2/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | e7a485521d6a |
children | 5669e8b3be70 |
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 xorg-libX11-dev xorg-libICE-dev libjpeg-turbo-dev \
15 tiff-dev giflib-dev libid3tag-dev xorg-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 libpng16 \
34 tiff xorg-libX11 xorg-libXext zlib"
35 ;;
36 imlib2-test)
37 copy @std @rm
38 CAT="development|testing utilities"
39 DEPENDS="imlib2 xorg-libX11"
40 ;;
41 imlib2-dev)
42 copy @dev
43 ;;
44 esac
45 }