wok annotate poppler-qt4/receipt @ rev 9286
djmount: compilr_rules workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 15:17:42 2011 +0100 (2011-03-16) |
parents | a9a016ca8872 |
children | b7319995b37e |
rev | line source |
---|---|
pankso@4246 | 1 # SliTaz package receipt. |
pankso@4246 | 2 |
pankso@4246 | 3 PACKAGE="poppler-qt4" |
slaxemulator@8356 | 4 VERSION="0.14.5" |
pankso@4246 | 5 CATEGORY="office" |
slaxemulator@9142 | 6 SHORT_DESC="Poppler compiled with Qt4 library." |
pankso@4246 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@9142 | 8 DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \ |
slaxemulator@9142 | 9 gcc-lib-base gtk+ cairo libQtCore libQtXml libQtGui gcc-lib-base" |
slaxemulator@9142 | 10 BUILD_DEPENDS="pkg-config Qt4-dev fontconfig-dev" |
slaxemulator@9142 | 11 SOURCE="poppler" |
slaxemulator@9142 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@4246 | 13 WEB_SITE="http://poppler.freedesktop.org/" |
slaxemulator@9142 | 14 WGET_URL="http://poppler.freedesktop.org/$TARBALL" |
slaxemulator@9142 | 15 |
slaxemulator@9142 | 16 # Rules to configure and make the package. |
slaxemulator@9142 | 17 compile_rules() |
slaxemulator@9142 | 18 { |
slaxemulator@9142 | 19 cd $src |
slaxemulator@9142 | 20 ./configure \ |
slaxemulator@9142 | 21 --enable-poppler-qt4 \ |
slaxemulator@9142 | 22 --enable-zlib && |
slaxemulator@9142 | 23 make && |
slaxemulator@9142 | 24 make install |
slaxemulator@9142 | 25 } |
pankso@4246 | 26 |
pankso@4246 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4246 | 28 genpkg_rules() |
pankso@4246 | 29 { |
pankso@4246 | 30 mkdir -p $fs/usr/lib |
pankso@4246 | 31 cp -a $_pkg/usr/lib/*qt4.so* $fs/usr/lib |
pankso@4246 | 32 } |