wok-next annotate 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 |
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" |
al@21020 | 7 MAINTAINER="devel@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@21020 | 16 SPLIT="$PACKAGE-test $PACKAGE-dev" |
pankso@358 | 17 |
al@20443 | 18 compile_rules() { |
pankso@358 | 19 ./configure \ |
al@19689 | 20 --disable-static \ |
pascal@1480 | 21 $CONFIGURE_ARGS && |
al@20443 | 22 fix libtool && |
al@20905 | 23 make && |
al@20905 | 24 make install || return 1 |
al@19689 | 25 |
al@20443 | 26 cook_pick_docs doc/*.gif doc/index.html |
pankso@358 | 27 } |
pankso@358 | 28 |
al@20443 | 29 genpkg_rules() { |
al@19793 | 30 case $PACKAGE in |
al@19793 | 31 imlib2) |
al@19793 | 32 copy *.so* imlib2_conv imlib2_grab imlib2_view |
al@20443 | 33 DEPENDS="bzlib freetype giflib libid3tag libjpeg-turbo libpng16 \ |
al@20443 | 34 tiff xorg-libX11 xorg-libXext zlib" |
al@19793 | 35 ;; |
al@19793 | 36 imlib2-test) |
al@20443 | 37 copy @std @rm |
al@19793 | 38 CAT="development|testing utilities" |
al@20443 | 39 DEPENDS="imlib2 xorg-libX11" |
al@19793 | 40 ;; |
al@19793 | 41 imlib2-dev) |
al@19793 | 42 copy @dev |
al@19793 | 43 ;; |
al@19793 | 44 esac |
al@19689 | 45 } |