wok-next rev 4246
poppler: fix *DEPENDS and split qt4 libs (add poppler-qt4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 24 23:04:14 2009 +0200 (2009-09-24) |
parents | 11f3de21a6f4 |
children | 77750184043d |
files | poppler-qt4/receipt poppler/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/poppler-qt4/receipt Thu Sep 24 23:04:14 2009 +0200 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="poppler-qt4" 1.7 +VERSION="0.12.0" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Poppler QT4 library." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="poppler" 1.12 +DEPENDS="poppler libQtCore libQtXml libQtGui" 1.13 +WEB_SITE="http://poppler.freedesktop.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/*qt4.so* $fs/usr/lib 1.20 +}
2.1 --- a/poppler/receipt Thu Sep 24 22:51:39 2009 +0200 2.2 +++ b/poppler/receipt Thu Sep 24 23:04:14 2009 +0200 2.3 @@ -5,9 +5,10 @@ 2.4 CATEGORY="office" 2.5 SHORT_DESC="Poppler is a PDF rendering library." 2.6 MAINTAINER="pankso@slitaz.org" 2.7 -BUILD_DEPENDS="pkg-config jpeg fontconfig" 2.8 +DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage" 2.9 +BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \ 2.10 +freetype-dev fontconfig-dev glib-dev Qt4-dev" 2.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 -DEPENDS="expat freetype gtk+ jpeg libxml2 xorg-libXdamage" 2.13 WEB_SITE="http://poppler.freedesktop.org/" 2.14 WGET_URL="http://poppler.freedesktop.org/$TARBALL" 2.15 2.16 @@ -30,4 +31,6 @@ 2.17 { 2.18 mkdir -p $fs/usr/lib 2.19 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.20 + # Remove qt4 libs --> poppler-qt4 2.21 + rm $fs/usr/lib/*qt4.so* 2.22 }