wok annotate kdelibs/receipt @ rev 21630
openjpeg2: modified WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 28 13:37:38 2019 +0100 (2019-05-28) |
parents | |
children | b753ca9ee288 |
rev | line source |
---|---|
psychomaniak@20136 | 1 # SliTaz package receipt. |
psychomaniak@20136 | 2 |
psychomaniak@20136 | 3 PACKAGE="kdelibs" |
psychomaniak@20136 | 4 VERSION="4.14.3" |
psychomaniak@20136 | 5 CATEGORY="x-window" |
psychomaniak@20136 | 6 SHORT_DESC="The KDE library." |
psychomaniak@20136 | 7 MAINTAINER="pankso@slitaz.org" |
psychomaniak@20136 | 8 LICENSE="GPL2" |
psychomaniak@20136 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@20136 | 10 WEB_SITE="http://www.kde.org/" |
psychomaniak@20136 | 11 WGET_URL="http://download.kde.org/stable/$VERSION/src/$TARBALL" |
psychomaniak@20136 | 12 |
psychomaniak@20136 | 13 DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \ |
psychomaniak@20136 | 14 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ |
psychomaniak@20136 | 15 soprano shared-mime-info" |
psychomaniak@20136 | 16 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \ |
psychomaniak@20136 | 17 attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \ |
psychomaniak@20136 | 18 libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \ |
psychomaniak@20136 | 19 shared-mime-info-dev phonon phonon-dev udisks2-dev udisks2 libQtDeclarative" |
psychomaniak@20136 | 20 |
psychomaniak@20136 | 21 # Rules to configure and make the package. |
psychomaniak@20136 | 22 compile_rules() |
psychomaniak@20136 | 23 { |
psychomaniak@20136 | 24 mkdir -p build && cd build |
psychomaniak@20136 | 25 cmake -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20136 | 26 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ |
psychomaniak@20136 | 27 -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@20136 | 28 -DSYSCONF_INSTALL_DIR=/etc/kde \ |
psychomaniak@20136 | 29 -DKDE_DEFAULT_HOME=.config/kde \ |
psychomaniak@20136 | 30 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@20136 | 31 -DKAUTH_BACKEND=PolkitQt-1 \ |
psychomaniak@20136 | 32 -DWITH_SOLID_UDISKS2=TRUE \ |
psychomaniak@20136 | 33 .. && |
psychomaniak@20136 | 34 make && make install |
psychomaniak@20136 | 35 } |
psychomaniak@20136 | 36 |
psychomaniak@20136 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 38 genpkg_rules() |
psychomaniak@20136 | 39 { |
psychomaniak@20136 | 40 mkdir -p $fs/usr/share |
psychomaniak@20136 | 41 cp -a $install/usr/bin $fs/usr |
psychomaniak@20136 | 42 cp -a $install/usr/lib $fs/usr |
psychomaniak@20136 | 43 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null |
psychomaniak@20136 | 44 for d in apps config dbus-1 icons kde4 locale mime |
psychomaniak@20136 | 45 do |
psychomaniak@20136 | 46 cp -a $install/usr/share/$d $fs/usr/share |
psychomaniak@20136 | 47 done |
psychomaniak@20136 | 48 } |