wok annotate imlib2/receipt @ rev 20466

fusioninventory-agenti: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 11 13:32:26 2018 +0200 (2018-10-11)
parents af8a8f177c6c
children 0015dedd2f15
rev   line source
pankso@358 1 # SliTaz package receipt.
pankso@358 2
pankso@358 3 PACKAGE="imlib2"
psychomaniak@16847 4 VERSION="1.4.6"
pankso@358 5 CATEGORY="graphics"
pankso@358 6 SHORT_DESC="Imlib graphic library."
pankso@358 7 MAINTAINER="pankso@slitaz.org"
pascal@15215 8 LICENSE="GPL LGPL2"
pankso@13563 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20421 10 WEB_SITE="https://sourceforge.net/projects/enlightenment/"
pankso@13563 11 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
pankso@16067 12 HOST_ARCH="i486 arm"
pankso@13563 13
pascal@2481 14 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
pascal@5002 15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
pascal@5002 16 xorg-libICE"
pankso@13563 17 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
pankso@16067 18 xorg-libXpm-dev xorg-xextproto libid3tag-dev pkg-config freetype-dev \
pankso@16067 19 zlib-dev util-linux-uuid-dev"
pankso@16067 20
pankso@16067 21 # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
pankso@16067 22 # be modified manually
pankso@358 23
pankso@358 24 # Rules to configure and make the package.
pankso@358 25 compile_rules()
pankso@358 26 {
pankso@358 27 ./configure \
pankso@358 28 --prefix=/usr \
pankso@358 29 --infodir=/usr/share/info \
pankso@358 30 --mandir=/usr/share/man \
slaxemulator@6622 31 --with-x \
pascal@1480 32 $CONFIGURE_ARGS &&
pankso@13563 33 make && make install
al@17507 34 sed -i 's| @my_libs@||' $install/usr/bin/imlib2-config
pankso@358 35 }
pankso@358 36
pankso@358 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 38 genpkg_rules()
pankso@358 39 {
pankso@13563 40 mkdir -p $fs/usr/bin \
pankso@13563 41 $fs/usr/lib/imlib2/filters \
pankso@13563 42 $fs/usr/lib/imlib2/loaders
pankso@13563 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13563 44 cp -a $install/usr/lib/imlib2/filters/*.so* \
pankso@13563 45 $fs/usr/lib/imlib2/filters
pankso@13563 46 cp -a $install/usr/lib/imlib2/loaders/*.so* \
pankso@13563 47 $fs/usr/lib/imlib2/loaders
pankso@13563 48 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
psychomaniak@18352 49 }