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