wok-next annotate imlib2/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 0e7893ac206d
children e7a485521d6a
rev   line source
al@19793 1 # SliTaz package receipt v2.
pankso@358 2
pankso@358 3 PACKAGE="imlib2"
al@19689 4 VERSION="1.4.9"
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@20443 26 make && make install || return 1
al@19689 27
al@20443 28 cook_pick_docs doc/*.gif doc/index.html
pankso@358 29 }
pankso@358 30
al@20443 31 genpkg_rules() {
al@19793 32 case $PACKAGE in
al@19793 33 imlib2)
al@19793 34 copy *.so* imlib2_conv imlib2_grab imlib2_view
al@20443 35 DEPENDS="bzlib freetype giflib libid3tag libjpeg-turbo libpng16 \
al@20443 36 tiff xorg-libX11 xorg-libXext zlib"
al@19793 37 ;;
al@19793 38 imlib2-test)
al@20443 39 copy @std @rm
al@19793 40 CAT="development|testing utilities"
al@20443 41 DEPENDS="imlib2 xorg-libX11"
al@19793 42 ;;
al@19793 43 imlib2-dev)
al@19793 44 copy @dev
al@19793 45 ;;
al@19793 46 esac
al@19689 47 }