wok-undigest annotate kdelibs/receipt @ rev 688
Up zerobin (0.13_alpha)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 19 08:11:22 2012 +0200 (2012-04-19) |
parents | dae7b2cee263 |
children | d2cc911e6547 |
rev | line source |
---|---|
pankso@147 | 1 # SliTaz package receipt. |
pankso@147 | 2 |
pankso@147 | 3 PACKAGE="kdelibs" |
pankso@306 | 4 VERSION="4.6.0" |
pankso@147 | 5 CATEGORY="x-window" |
pankso@147 | 6 SHORT_DESC="The KDE library." |
pankso@147 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@147 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@147 | 9 WEB_SITE="http://www.kde.org/" |
pankso@147 | 10 WGET_URL="http://mirrors.isc.org/pub/kde/stable/$VERSION/src/$TARBALL" |
pankso@147 | 11 |
pankso@306 | 12 DEPENDS="qt4-phonon libQtCore libQtGui libQtScript giflib libxslt qca \ |
pankso@306 | 13 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ |
pankso@306 | 14 soprano shared-mime-info" |
pankso@306 | 15 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \ |
pankso@306 | 16 attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \ |
pankso@306 | 17 libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \ |
pankso@306 | 18 shared-mime-info-dev" |
pankso@306 | 19 |
pankso@147 | 20 # Rules to configure and make the package. |
pankso@147 | 21 compile_rules() |
pankso@147 | 22 { |
pankso@306 | 23 #-DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-4.5 |
pankso@147 | 24 mkdir -p build && cd build |
pankso@147 | 25 cmake \ |
pankso@224 | 26 -DCMAKE_BUILD_TYPE=Release \ |
pankso@224 | 27 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ |
pankso@147 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@147 | 29 -DSYSCONF_INSTALL_DIR=/etc/kde \ |
pankso@306 | 30 -DKDE_DEFAULT_HOME=.config/kde \ |
pankso@306 | 31 -DCMAKE_SKIP_RPATH=ON \ |
pankso@306 | 32 -DKAUTH_BACKEND=PolkitQt-1 \ |
pankso@306 | 33 .. && |
pascal@448 | 34 make -j 1 && make install |
pankso@147 | 35 } |
pankso@147 | 36 |
pankso@147 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@147 | 38 genpkg_rules() |
pankso@147 | 39 { |
pankso@147 | 40 mkdir -p $fs/usr/share |
pankso@306 | 41 cp -a $install/usr/bin $fs/usr |
pankso@306 | 42 cp -a $install/usr/lib $fs/usr |
pankso@147 | 43 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null |
pankso@147 | 44 for d in apps config dbus-1 icons kde4 locale mime |
pankso@147 | 45 do |
pankso@306 | 46 cp -a $install/usr/share/$d $fs/usr/share |
pankso@147 | 47 done |
pankso@147 | 48 } |