wok-next view imlib2/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | f463de72afe3 |
children | 0e7893ac206d |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
15 BUILD_DEPENDS="freetype-dev xorg-libX11-dev xorg-libICE-dev libjpeg-turbo-dev \
16 tiff-dev giflib-dev libid3tag-dev xorg-libXext-dev xz-dev"
17 SPLIT="imlib2-test imlib2-dev"
19 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
20 # be modified manually
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make && make install
30 install -v -m755 -d $install/usr/share/doc/imlib2-$VERSION &&
31 install -v -m644 doc/*.gif doc/index.html \
32 $install/usr/share/doc/imlib2-$VERSION
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 imlib2)
40 copy *.so* imlib2_conv imlib2_grab imlib2_view
41 DEPENDS="bzlib freetype giflib glib harfbuzz libid3tag \
42 libjpeg-turbo libpng16 libxcb pcre tiff xorg-libX11 xorg-libXau \
43 xorg-libXdmcp xorg-libXext zlib"
44 ;;
45 imlib2-test)
46 copy @std
47 remove_already_packed
48 CAT="development|testing utilities"
49 ;;
50 imlib2-dev)
51 copy @dev
52 DEPENDS="imlib2 imlib2-test bzip2-dev freetype-dev giflib-dev \
53 glib-dev harfbuzz-dev libid3tag-dev libjpeg-turbo-dev libpng16-dev \
54 libxcb-dev pcre-dev tiff-dev xorg-libX11-dev xorg-libXau-dev \
55 xorg-libXdmcp-dev xorg-libXext-dev zlib-dev"
56 ;;
57 esac
58 }