wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kdelibs/receipt Tue May 28 13:37:38 2019 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kdelibs" 1.7 +VERSION="4.14.3" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="The KDE library." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.13 +WEB_SITE="http://www.kde.org/" 1.14 +WGET_URL="http://download.kde.org/stable/$VERSION/src/$TARBALL" 1.15 + 1.16 +DEPENDS="phonon libQtCore libQtGui libQtScript giflib libxslt qca \ 1.17 +strigi attica dbus polkit-qt openssl udev libdbusmenu-qt enchant mesa librsvg \ 1.18 +soprano shared-mime-info" 1.19 +BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev giflib-dev libxslt-dev strigi-dev \ 1.20 +attica-dev docbook-xml docbook-xsl dbus-dev polkit-qt-dev openssl-dev udev-dev \ 1.21 +libdbusmenu-qt-dev enchant-dev mesa-dev librsvg-dev qca-dev soprano-dev \ 1.22 +shared-mime-info-dev phonon phonon-dev udisks2-dev udisks2 libQtDeclarative" 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + mkdir -p build && cd build 1.28 + cmake -DCMAKE_BUILD_TYPE=Release \ 1.29 + -DKDE_DISTRIBUTION_TEXT='SliTaz GNU/Linux' \ 1.30 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.31 + -DSYSCONF_INSTALL_DIR=/etc/kde \ 1.32 + -DKDE_DEFAULT_HOME=.config/kde \ 1.33 + -DCMAKE_SKIP_RPATH=ON \ 1.34 + -DKAUTH_BACKEND=PolkitQt-1 \ 1.35 + -DWITH_SOLID_UDISKS2=TRUE \ 1.36 + .. && 1.37 + make && make install 1.38 +} 1.39 + 1.40 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 +genpkg_rules() 1.42 +{ 1.43 + mkdir -p $fs/usr/share 1.44 + cp -a $install/usr/bin $fs/usr 1.45 + cp -a $install/usr/lib $fs/usr 1.46 + strip -s $fs/usr/lib/kde4/libexec/* 2>/dev/null 1.47 + for d in apps config dbus-1 icons kde4 locale mime 1.48 + do 1.49 + cp -a $install/usr/share/$d $fs/usr/share 1.50 + done 1.51 +}