wok-current annotate imlib2/receipt @ rev 14181

linux-api-headers: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 11 12:18:04 2013 +0100 (2013-03-11)
parents 73641efed1cc
children 7bb096863642
rev   line source
pankso@358 1 # SliTaz package receipt.
pankso@358 2
pankso@358 3 PACKAGE="imlib2"
pankso@13563 4 VERSION="1.4.5"
pankso@358 5 CATEGORY="graphics"
pankso@358 6 SHORT_DESC="Imlib graphic library."
pankso@358 7 MAINTAINER="pankso@slitaz.org"
pankso@13563 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@13563 9 WEB_SITE="http://sourceforge.net/projects/enlightenment/"
pankso@13563 10 WGET_URL="$SF_MIRROR/enlightenment/$TARBALL"
pankso@13563 11
pascal@2481 12 DEPENDS="libpng tiff jpeg xorg-libXpm bzlib freetype libid3tag \
pascal@5002 13 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib xorg-libSM \
pascal@5002 14 xorg-libICE"
pankso@13563 15 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev giflib-dev bzip2-dev \
pankso@13563 16 xorg-libXpm-dev xorg-xextproto libid3tag-dev xorg-dev pkg-config \
pankso@13563 17 freetype-dev zlib-dev util-linux-uuid-dev"
pankso@358 18
pankso@358 19 # Rules to configure and make the package.
pankso@358 20 compile_rules()
pankso@358 21 {
pankso@358 22 cd $src
pankso@358 23 ./configure \
pankso@358 24 --prefix=/usr \
pankso@358 25 --infodir=/usr/share/info \
pankso@358 26 --mandir=/usr/share/man \
slaxemulator@6622 27 --with-x \
pascal@1480 28 $CONFIGURE_ARGS &&
pankso@13563 29 make && make install
pankso@358 30 }
pankso@358 31
pankso@358 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 33 genpkg_rules()
pankso@358 34 {
pankso@13563 35 mkdir -p $fs/usr/bin \
pankso@13563 36 $fs/usr/lib/imlib2/filters \
pankso@13563 37 $fs/usr/lib/imlib2/loaders
pankso@13563 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13563 39 cp -a $install/usr/lib/imlib2/filters/*.so* \
pankso@13563 40 $fs/usr/lib/imlib2/filters
pankso@13563 41 cp -a $install/usr/lib/imlib2/loaders/*.so* \
pankso@13563 42 $fs/usr/lib/imlib2/loaders
pankso@13563 43 cp -a $install/usr/bin/imlib2_* $fs/usr/bin
pankso@358 44 }
pankso@358 45