wok-next annotate imlib2/receipt @ rev 17169

linux-cloop: 4Gb+ support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 23 11:33:52 2014 +0200 (2014-09-23)
parents 9be2dfe2fe72
children c24df5b18695
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"
pankso@13563 10 WEB_SITE="http://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
pankso@358 34 }
pankso@358 35
pankso@358 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 37 genpkg_rules()
pankso@358 38 {
pankso@13563 39 mkdir -p $fs/usr/bin \
pankso@13563 40 $fs/usr/lib/imlib2/filters \
pankso@13563 41 $fs/usr/lib/imlib2/loaders
pankso@13563 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13563 43 cp -a $install/usr/lib/imlib2/filters/*.so* \
pankso@13563 44 $fs/usr/lib/imlib2/filters
pankso@13563 45 cp -a $install/usr/lib/imlib2/loaders/*.so* \
pankso@13563 46 $fs/usr/lib/imlib2/loaders
pankso@13563 47 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
pankso@358 48 }
pankso@358 49