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