wok annotate kdelibs/receipt @ rev 23925
Add Connect-Four
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 23 10:18:23 2020 +0000 (2020-08-23) |
parents | 3ae2d1f7b186 |
children | b9659e3c2111 |
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" |
Hans-G?nter@22982 | 9 WEB_SITE="http://www.kde.org/" |
Hans-G?nter@22982 | 10 |
psychomaniak@20136 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22982 | 12 WGET_URL="http://download.kde.org/Attic/$VERSION/src/$TARBALL" |
psychomaniak@20136 | 13 |
psychomaniak@20136 | 14 DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \ |
Hans-G?nter@22982 | 15 strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ |
Hans-G?nter@22982 | 16 soprano shared-mime-info" |
Hans-G?nter@22982 | 17 BUILD_DEPENDS="attica-dev automoc4 cmake dbus-dev docbook-xml docbook-xsl |
Hans-G?nter@22982 | 18 enchant-dev giflib-dev libdbusmenu-qt-dev libQtDeclarative |
Hans-G?nter@22982 | 19 librsvg-dev libxslt-dev mesa-dev openssl-dev phonon-dev polkit-qt-dev |
Hans-G?nter@22982 | 20 qca-dev qmake Qt4-dev shared-mime-info-dev soprano-dev strigi-dev |
Hans-G?nter@22982 | 21 udev-dev udisks2-dev udisks2" |
psychomaniak@20136 | 22 |
psychomaniak@20136 | 23 # Rules to configure and make the package. |
psychomaniak@20136 | 24 compile_rules() |
psychomaniak@20136 | 25 { |
pascal@23838 | 26 sed -i '316,317d' kdeui/CMakeLists.txt # duplicate else |
Hans-G?nter@22982 | 27 |
Hans-G?nter@22982 | 28 mkdir build && |
Hans-G?nter@22983 | 29 cd build && |
Hans-G?nter@22982 | 30 cmake .. \ |
Hans-G?nter@22982 | 31 -DCMAKE_BUILD_TYPE=Release \ |
Hans-G?nter@22982 | 32 -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ |
Hans-G?nter@22982 | 33 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22982 | 34 -DSYSCONF_INSTALL_DIR=/etc/kde \ |
Hans-G?nter@22982 | 35 -DKDE_DEFAULT_HOME=.config/kde \ |
Hans-G?nter@22982 | 36 -DCMAKE_SKIP_RPATH=ON \ |
Hans-G?nter@22982 | 37 -DKAUTH_BACKEND=PolkitQt-1 \ |
Hans-G?nter@22982 | 38 -DWITH_SOLID_UDISKS2=TRUE && |
Hans-G?nter@22983 | 39 make -j 1 && |
Hans-G?nter@22982 | 40 make install |
psychomaniak@20136 | 41 } |
psychomaniak@20136 | 42 |
psychomaniak@20136 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20136 | 44 genpkg_rules() |
psychomaniak@20136 | 45 { |
psychomaniak@20136 | 46 mkdir -p $fs/usr/share |
Hans-G?nter@22982 | 47 |
Hans-G?nter@22982 | 48 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22982 | 49 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22982 | 50 strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null |
psychomaniak@20136 | 51 for d in apps config dbus-1 icons kde4 locale mime |
Hans-G?nter@22982 | 52 do |
Hans-G?nter@22982 | 53 cp -a $install/usr/share/$d $fs/usr/share |
Hans-G?nter@22982 | 54 done |
psychomaniak@20136 | 55 } |